#include "ndn-cxx/encoding/block.hpp"
#include "ndn-cxx/encoding/encoding-buffer.hpp"
#include <boost/concept_check.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 |
|
| ndn::detail |
| Contains implementation details that are not part of the ndn-cxx public API.
|
|
◆ NDN_CXX_ASSERT_FORWARD_ITERATOR
#define NDN_CXX_ASSERT_FORWARD_ITERATOR |
( |
|
T | ) |
|
Value: static_assert(std::is_default_constructible_v<T>, #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 149 of file concepts.hpp.