20 #ifndef LIBSUB_RAW_CONVERT_H
21 #define LIBSUB_RAW_CONVERT_H
24 #include <boost/static_assert.hpp>
32 template <
typename P,
typename Q>
34 raw_convert (Q,
int precision = 16)
39 BOOST_STATIC_ASSERT (
sizeof (Q) == 0);
40 LIBSUB_UNUSED (precision);
45 raw_convert (std::string v,
int);
49 raw_convert (std::string v,
int);
53 raw_convert (
unsigned long v,
int);