|
10735 | 10735 | parse(ParseContext& ctx); |
10736 | 10736 |
|
10737 | 10737 | template<class FormatContext> |
10738 | | - typename FormatContext::iterator |
| 10738 | + constexpr typename FormatContext::iterator |
10739 | 10739 | format(const T& ref, FormatContext& ctx) const; |
10740 | 10740 | }; |
10741 | 10741 | } |
|
10756 | 10756 | \indexlibrarymember{format}{formatter}% |
10757 | 10757 | \begin{itemdecl} |
10758 | 10758 | template<class FormatContext> |
10759 | | - typename FormatContext::iterator |
| 10759 | + constexpr typename FormatContext::iterator |
10760 | 10760 | format(const T& ref, FormatContext& ctx) const; |
10761 | 10761 | \end{itemdecl} |
10762 | 10762 |
|
|
20308 | 20308 | \tcode{queue}, |
20309 | 20309 | \tcode{priority_queue}, and |
20310 | 20310 | \tcode{stack}, |
20311 | | -the library provides the following formatter specialization |
| 20311 | +the library provides the following constexpr-enabled formatter specialization |
20312 | 20312 | where \tcode{\placeholder{adaptor-type}} is the name of the template: |
20313 | 20313 |
|
20314 | 20314 | \indexlibraryglobal{formatter}% |
|
20330 | 20330 | parse(ParseContext& ctx); |
20331 | 20331 |
|
20332 | 20332 | template<class FormatContext> |
20333 | | - typename FormatContext::iterator |
| 20333 | + constexpr typename FormatContext::iterator |
20334 | 20334 | format(@\exposid{maybe-const-adaptor}@& r, FormatContext& ctx) const; |
20335 | 20335 | }; |
20336 | 20336 | } |
|
20352 | 20352 | \indexlibrarymember{format}{formatter}% |
20353 | 20353 | \begin{itemdecl} |
20354 | 20354 | template<class FormatContext> |
20355 | | - typename FormatContext::iterator |
| 20355 | + constexpr typename FormatContext::iterator |
20356 | 20356 | format(@\exposid{maybe-const-adaptor}@& r, FormatContext& ctx) const; |
20357 | 20357 | \end{itemdecl} |
20358 | 20358 |
|
|
0 commit comments