Skip to content
/ auss Public

Simple header-only wrapper on std::stringstream with automatic casting to std::string

License

Notifications You must be signed in to change notification settings

drmgc/auss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

AutoStringStream license

Simple header-only wrapper on std::stringstream with automatic casting to std::string

Usage

#include <auss.hpp>
auss_t() << "Hello, " << user_name
throw std::runtime_error(auss_t() << "Something gone wrong, See " << log_path)

Own namespace

If you wouldn't pollute global namespace just define AUSS_USE_OWN_NAMESPACE. Either before #include or in compiler flags (-DAUSS_USE_OWN_NAMESPACE for GCC).

Also you can specifiy the name of namespace with AUSS_OWN_NAMESPACE_NAME:

-DAUSS_OWN_NAMESPACE_NAME="theauss"

License

Licensed under Unlicense. See LICENSE file for more info.

About

Simple header-only wrapper on std::stringstream with automatic casting to std::string

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages