The type of a signed distance between two element.
    typedef int size_type;
Remarks
The type describes a non-negative element count.
Example
// cliext_collection_adapter_size_type.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(); 
 
    Mycoll::size_type size = c1.size(); 
    System::Console::WriteLine("size() = {0}", size); 
    return (0); 
    } 
 
x x x x x x size() = 6
Requirements
Header: <cliext/adapter>
Namespace: cliext