OSVR-Core
|
Header with a convenience function to make a std::string out of a non-null-terminated char array (string literal) like that produced by osvr_json_to_c. More...
#include <string>
#include <stddef.h>
Go to the source code of this file.
Namespaces | |
osvr | |
The main namespace for all C++ elements of the framework, internal and external. | |
osvr::util | |
The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems. | |
Functions | |
template<size_t N> | |
std::string | osvr::util::makeString (const char(&arrayLiteral)[N]) |
Safely and easily convert a literal array of characters (like from osvr_json_to_c) into a std::string. More... | |
Header with a convenience function to make a std::string out of a non-null-terminated char array (string literal) like that produced by osvr_json_to_c.