move Printf/SPrintf into the Loki namespace
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@433 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
70fdd98598
commit
90f1278043
1 changed files with 468 additions and 463 deletions
|
@ -25,6 +25,9 @@
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
|
|
||||||
|
namespace Loki
|
||||||
|
{
|
||||||
|
|
||||||
// Crude writing method: writes straight to the file, unbuffered
|
// Crude writing method: writes straight to the file, unbuffered
|
||||||
// Must be combined with a buffer to work properly (and efficiently)
|
// Must be combined with a buffer to work properly (and efficiently)
|
||||||
|
|
||||||
|
@ -511,4 +514,6 @@ BufPrintf(Char (&buf)[N], const Char* format) {
|
||||||
return PrintfState<std::pair<Char*, std::size_t>, Char>(temp, format);
|
return PrintfState<std::pair<Char*, std::size_t>, Char>(temp, format);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}// namespace Loki
|
||||||
|
|
||||||
#endif //SAFEFORMAT_H_
|
#endif //SAFEFORMAT_H_
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue