format: add unsigned char write method
unsigned char sometimes arises from string literals
This commit is contained in:
parent
f9fd156df8
commit
c8d8067af2
@ -630,6 +630,15 @@ namespace util { namespace format { namespace detail {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------------
|
||||||
|
template <typename OutputT>
|
||||||
|
OutputT
|
||||||
|
write (OutputT os, const specifier &spec, const unsigned char *t)
|
||||||
|
{
|
||||||
|
return write (os, spec, reinterpret_cast<const char*> (t));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
template <typename OutputT>
|
template <typename OutputT>
|
||||||
OutputT
|
OutputT
|
||||||
|
Loading…
Reference in New Issue
Block a user