aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/check.cpp
blob: 4e34fc5d49d8be32872500fad6ae67a4a9c1a179 (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);
}