1.3 KiB
1.3 KiB
[vector.bool.fmt]
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-referencestruct formatter<T, charT> {private: formatter<bool, charT> underlying_; // exposition onlypublic:templateconstexpr typename ParseContext::iterator parse(ParseContext& ctx); templatetypename 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);