concepts.hpp File Reference
#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>
+ Include dependency graph for concepts.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ndn::detail::NfdMgmtProtocolStruct< X >
 
class  ndn::NotificationStreamItem< X >
 Concept check for an item in a Notification Stream. More...
 
class  ndn::StatusDatasetItem< X >
 Concept check for an item in a Status Dataset. More...
 
class  ndn::detail::StlForwardIteratorConcept< T >
 
class  ndn::WireDecodable< X >
 A concept check for TLV abstraction with a wireDecode(Block) method and constructible from Block. More...
 
class  ndn::WireEncodable< X >
 A concept check for TLV abstraction with a wireEncode() method. More...
 
class  ndn::WireEncodableWithEncodingBuffer< X >
 A concept check for TLV abstraction with a wireEncode(EncodingBuffer) method. More...
 

Namespaces

 ndn
 
 ndn::detail
 Contains implementation details that are not part of the ndn-cxx public API.
 

Macros

#define NDN_CXX_ASSERT_FORWARD_ITERATOR(T)
 Assert T is a forward iterator. More...
 

Macro Definition Documentation

◆ 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.