is_valid_dl_call_arg Struct Template Reference
[DL Library]

#include <unixstl/dl/dl_call.hpp>

List of all members.

Detailed Description

template<typename T>
struct unixstl::is_valid_dl_call_arg< T >

Traits class that provides a mechanism for declaring specific (e.g.

aggregate and user-defined) types to be compatible with dl_call().

To specify your type being dl_call()-compatible, simply specialise the traits template as follows (for the notional type MyType):

namespace MyNamespace
  class MyType

} // MyNamespace

namespace unixstl
  template <>
  struct is_valid_dl_call_arg<MyNamespace::MyType>
    enum { value = 1 };
} // namespace unixstl

Public Types

enum  { value = 0 }

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

Generated on Thu Jun 10 08:59:05 2010 for STLSoft by  doxygen 1.5.6