collection_adapter::base (STL/CLR)
Designa a interface fixo de BCL.
Coll^ base();
Comentários
A função de membro retorna o identificador da interface de BCL armazenada.
Exemplo
// cliext_collection_adapter_base.cpp
// compile with: /clr
#include <cliext/adapter>
#include <cliext/deque>
typedef cliext::collection_adapter<
System::Collections::ICollection> Mycoll;
int main()
{
cliext::deque<wchar_t> d6x(6, L'x');
Mycoll c1(%d6x);
// display initial contents " x x x x x x"
for each (wchar_t elem in c1)
System::Console::Write(" {0}", elem);
System::Console::WriteLine();
System::Console::WriteLine("base() same = {0}", c1.base() == %c1);
return (0);
}
Requisitos
cliext </adaptador deCabeçalho: >
cliext deNamespace: