#include "ndn-cxx/encoding/block.hpp"
#include "ndn-cxx/encoding/encoding-buffer.hpp"
#include <boost/concept/usage.hpp>
#include <boost/type_traits/has_equal_to.hpp>
#include <boost/type_traits/has_not_equal_to.hpp>
#include <boost/type_traits/has_left_shift.hpp>
Go to the source code of this file.
◆ NDN_CXX_ASSERT_FORWARD_ITERATOR
#define NDN_CXX_ASSERT_FORWARD_ITERATOR |
( |
|
T | ) |
|
Value: static_assert(std::is_default_constructible<T>::value, \
#T " must be default-constructible"); \
Assert T is a forward iterator.
- See also
- http://en.cppreference.com/w/cpp/concept/ForwardIterator
- Note
- A forward iterator should be default constructible, but boost::ForwardIterator follows SGI standard which doesn't require DefaultConstructible, so a separate check is needed.
Definition at line 147 of file concepts.hpp.