aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/check.cpp
blob: 2fa7c7bc222d59c9e401df33f63036340500fe1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "check.h"
 
#include <util/stream/output.h> 
#include <util/string/cast.h>

namespace NLWTrace {
    int TCheck::ObjCount = 0;
}

template <>
NLWTrace::TCheck FromStringImpl(const char* data, size_t len) {
    return NLWTrace::TCheck(FromString<int, char>(data, len));
}

template <>
void Out<NLWTrace::TCheck>(IOutputStream& o, TTypeTraits<NLWTrace::TCheck>::TFuncParam t) {
    Out<int>(o, t.Value);
}