revert back to sol2
This commit is contained in:
parent
ce8e89af51
commit
f3c17f6d03
16 changed files with 184 additions and 118 deletions
|
@ -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
|
||||
|
|
|
@ -22,13 +22,6 @@ template <typename T> struct module {
|
|||
template <typename T> typename module<T>::proxy module<T>::_proxy;
|
||||
|
||||
|
||||
struct stuff {
|
||||
|
||||
};
|
||||
|
||||
|
||||
module<stuff> mod;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue