View on GitHub
jbson
C++11/1y BSON library
jbson::detail::is_iterator_pointer< Iterator, Enable > Struct Template Reference

Trait to determine if an iterator is a pointer, or pointer in disguise. More...

#include <traits.hpp>

+ Inheritance diagram for jbson::detail::is_iterator_pointer< Iterator, Enable >:

Detailed Description

template<typename Iterator, typename Enable = void>
struct jbson::detail::is_iterator_pointer< Iterator, Enable >

Trait to determine if an iterator is a pointer, or pointer in disguise.

Types such as std::vector and std::string use thin wrappers around pointers as iterators. Specialisations for these inherit from std::true_type.

Totally non-portable; only tested with libc++ and libstdc++.

Definition at line 53 of file traits.hpp.


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