Boost logo

Boost Users :

Subject: [Boost-users] function_traits for constructors?
From: Kenny Riddile (kfriddile_at_[hidden])
Date: 2010-08-16 10:57:29

I would like to detect the arity and argument types of a class's
constructor. Is this possible? The documentation for function_traits says:

"function_traits is intended to introspect only C++ functions of the
form R (), R( A1 ), R ( A1, ... etc. ) and not function pointers or
class member functions."

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at