You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
316 B

10 years ago
//
// Created by Marek Kotewicz on 28/04/15.
//
#pragma once
namespace dev
{
namespace eth
{
template <typename T>
10 years ago
class JSPrinter
{
public:
virtual const char* print(T const& _value) const { return _value.asCString(); }
virtual const char* prettyPrint(T const& _value) const { return print(_value); }
10 years ago
};
}
}