c++ Programming Glossary: is_array
C++ iterate into nested struct field with boost fusion adapt_struct http://stackoverflow.com/questions/12084781/c-iterate-into-nested-struct-field-with-boost-fusion-adapt-struct #define JSON_SERIALIZER_HPP #include boost type_traits.hpp is_array is_class remove_bounds #include boost mpl eval_if.hpp #include.. typedef typename boost mpl eval_if boost is_array T boost mpl identity array_serializer T else typename boost..
boost::enable_if not in function signature http://stackoverflow.com/questions/8743159/boostenable-if-not-in-function-signature like this #include iostream #include boost type_traits is_array.hpp #include boost utility enable_if.hpp using namespace std.. typename T typename B typename boost enable_if boost is_array T type void asd cout This is for arrays endl template typename.. typename T typename B typename boost disable_if boost is_array T type void asd cout This is for NON arrays endl int main asd..
|