Mirror reflection library 0.5.13
|
Tag for zero-or-single-value single type containers. More...
#include <mirror/cntnr_kind_tags.hpp>
Tag for zero-or-single-value single type containers.
An example of this kind of container is the Boost.Optional type
For optional container classes X
the following is true:
mp::empty<all_member_variables<reflected_type<X> > >::value; mp::size<all_containers<reflected_type<X> > >::value == 1; single_value<mp::front<all_containers<reflected_type<X> > > >::value;