.. _output_traits: ********************* codecs::output_traits ********************* Declared in header ````. Defined in header ````. .. code-block:: cpp template class output_traits; The class template **output_traits** is a customization point that users can extend in order to make their types model :ref:`codec_output`. .. note:: This section will only document the default implementation (i.e. primary specialization). Look :ref:`here ` to learn how to specialize it for your own types. ---- Template arguments ================== .. table:: :align: left ========== ============================================================================= Name Description ========== ============================================================================= **T** Type to be returned by :doc:`create `. **SFINAE** Placeholder, useful when adding constraints in a specialization. ========== ============================================================================= Member functions ================ .. toctree:: :hidden: :titlesonly: create .. table:: :align: left ============================================================== ========================================================= Name Description ============================================================== ========================================================= :doc:`create ` [static] Returns a type containing a :ref:`input_range` 's content ============================================================== ========================================================= Member types ============ .. toctree:: :hidden: :titlesonly: output_type .. table:: :align: left ==================================================== ======================================================================= Name Description ==================================================== ======================================================================= :doc:`output_type ` Type returned by :doc:`create `. ==================================================== =======================================================================