22 #ifndef NDN_CXX_LP_FIELD_HPP
23 #define NDN_CXX_LP_FIELD_HPP
27 #include <boost/concept/usage.hpp>
34 namespace field_location_tags {
54 static_assert(std::is_same_v<typename X::TlvType::value_type, uint32_t>);
55 static_assert(std::is_same_v<typename X::IsRepeatable::value_type, bool>);
56 static_assert(std::is_default_constructible_v<typename X::ValueType>);
57 static_assert(std::is_copy_constructible_v<typename X::ValueType>);
63 typename X::ValueType decoded = j.decode(wire);
65 j.encode(enc, decoded);
Represents a TLV element of the NDN packet format.
EncodingImpl< EncoderTag > EncodingBuffer
Contains classes and functions related to NDNLPv2.
Concept check for NDNLPv2 fields.
BOOST_CONCEPT_USAGE(Field)