check.cpp 411 B

123456789101112131415161718
  1. #include "check.h"
  2. #include <util/stream/output.h>
  3. #include <util/string/cast.h>
  4. namespace NLWTrace {
  5. int TCheck::ObjCount = 0;
  6. }
  7. template <>
  8. NLWTrace::TCheck FromStringImpl(const char* data, size_t len) {
  9. return NLWTrace::TCheck(FromString<int, char>(data, len));
  10. }
  11. template <>
  12. void Out<NLWTrace::TCheck>(IOutputStream& o, TTypeTraits<NLWTrace::TCheck>::TFuncParam t) {
  13. Out<int>(o, t.Value);
  14. }