Mangrove
The C++ Object Document Mapper for MongoDB
mangrove::container_of< container_type, T > Struct Template Reference

Type trait that checks whether or not a type is a container that contains a particular type. More...

#include <util.hpp>

+ Inheritance diagram for mangrove::container_of< container_type, T >:

Detailed Description

template<typename container_type, typename T>
struct mangrove::container_of< container_type, T >

Type trait that checks whether or not a type is a container that contains a particular type.

Template Parameters
container_typeThe container being checked for containing a particular type.
TThe type that the container must hold for container_of::value to be true.

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