format: add char specialisation to is_type_specifier
This commit is contained in:
parent
abce134089
commit
61ba8e5186
@ -11,7 +11,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Copyright 2015 Danny Robson <danny@nerdcruft.net>
|
||||
* Copyright 2015-2016 Danny Robson <danny@nerdcruft.net>
|
||||
*/
|
||||
|
||||
#if defined(__UTIL_FORMAT_IPP)
|
||||
@ -36,6 +36,13 @@ namespace util {
|
||||
{ return false; }
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
template <>
|
||||
inline bool
|
||||
is_type_specifier<char> (const char *s)
|
||||
{ return *s == 'c'; }
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
template <>
|
||||
inline bool
|
||||
|
Loading…
Reference in New Issue
Block a user