format: add char specialisation to is_type_specifier

This commit is contained in:
Danny Robson 2016-04-27 16:08:28 +10:00
parent abce134089
commit 61ba8e5186

View File

@ -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