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