67 DAW_ATTRIB_FLATINLINE
constexpr void operator( )( Value &&value ) {
68 if constexpr( json_details::has_push_back_v<
70 daw::remove_cvref_t<Value>> ) {
71 m_container->push_back( DAW_FWD( value ) );
72 }
else if constexpr( json_details::has_insert_end_v<
74 daw::remove_cvref_t<Value>> ) {
75 m_container->insert( std::end( *m_container ), DAW_FWD( value ) );
78 json_details::has_push_back_v<Container,
79 daw::remove_cvref_t<Value>> or
80 json_details::has_insert_end_v<Container,
81 daw::remove_cvref_t<Value>>,
82 "basic_appender requires a Container that either has push_back "
84 "insert with the end iterator as first argument" );