codecs::output_traits

Declared in header <mgs/codecs/output_traits_fwd.hpp>.

Defined in header <mgs/codecs/output_traits.hpp>.

template <typename T, typename SFINAE = void>
class output_traits;

The class template output_traits is a customization point that users can extend in order to make their types model codecs::codec_output.

Note

This section will only document the default implementation (i.e. primary specialization).

Look here to learn how to specialize it for your own types.


Template arguments

Name

Description

T

Type to be returned by create.

SFINAE

Placeholder, useful when adding constraints in a specialization.

Member functions

Name

Description

create [static]

Returns a type containing a meta::input_range ‘s content

Member types

Name

Description

output_type

Type returned by create.