Improve the documentation of `is_specialized`

This commit is contained in:
Laurent Rineau 2016-06-15 11:25:23 +02:00
parent f87c007402
commit 8ce45aa47c
1 changed files with 4 additions and 2 deletions

View File

@ -158,8 +158,10 @@ struct Output_rep< Some_type, F > {
You can also specialize for a formatting tag `F`. You can also specialize for a formatting tag `F`.
The constant `is_specialized` can be tested by meta-programming tools to The constant `is_specialized` can be tested by meta-programming tools to
verify that a given type can be used with `oformat()`. The class template verify that a given type can be used with `oformat()`. Its value has to be
`Output_rep` defines `is_specialized` to the default value `false`. `true` in a specialization of `Output_rep`. When there is no specialization
for a type, the class template `Output_rep` defines `is_specialized` to the
default value `false`.
*/ */
template< typename T, typename F > template< typename T, typename F >