[vector.bool.fmt] (original) (raw)

23 Containers library [containers]

23.3 Sequence containers [sequences]

23.3.14 Specialization of vector for bool [vector.bool]

23.3.14.2 Formatter specialization for vector [vector.bool.fmt]

namespace std { template<class T, class charT> requires is-vector-bool-reference<T> struct formatter<T, charT> { private: formatter<bool, charT> underlying_; public: template<class ParseContext> constexpr typename ParseContext::iterator parse(ParseContext& ctx);template<class FormatContext> typename FormatContext::iterator format(const T& ref, FormatContext& ctx) const;};}

template<class ParseContext> constexpr typename ParseContext::iterator parse(ParseContext& ctx);

Equivalent to: return underlying_.parse(ctx);

template<class FormatContext> typename FormatContext::iterator format(const T& ref, FormatContext& ctx) const;

Equivalent to: return underlying_.format(ref, ctx);