STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
cliext::impl::_Get_sizeof< _Value_t > Struct Template Reference

Static Public Member Functions

static int value ()
 

Member Function Documentation

template<typename _Value_t >
static int cliext::impl::_Get_sizeof< _Value_t >::value ( )
inlinestatic
15  { // return size
16  try
17  { // try to determine size of type
18  return (System::Runtime::InteropServices::Marshal::
19  SizeOf(_Value_t::typeid));
20  }
21  catch (System::Object^)
22  { // failed, assume int
23  return (4);
24  }
25  }

The documentation for this struct was generated from the following file: