revert back to sol2

This commit is contained in:
Hartmut Seichter 2020-12-11 22:54:27 +01:00
parent ce8e89af51
commit f3c17f6d03
16 changed files with 184 additions and 118 deletions

View file

@ -62,6 +62,7 @@ public:
stream& operator << (const bool &value);
stream& operator << (const char *value);
stream& operator << (const std::string& value); ///! log a string
stream& operator << (const std::string_view& value); ///! log a string_view
stream& operator << (const float &value); ///! log a float value
stream& operator << (const double &value); ///! log a double value

View file

@ -22,13 +22,6 @@ template <typename T> struct module {
template <typename T> typename module<T>::proxy module<T>::_proxy;
struct stuff {
};
module<stuff> mod;
}

View file

@ -140,6 +140,12 @@ debug::stream &debug::stream::operator <<(const std::string &value)
return *this;
}
debug::stream &debug::stream::operator <<(const std::string_view &value)
{
_line.append(value.data());
return *this;
}
debug::stream &debug::stream::operator <<(const float &value)
{
std::stringstream ss;