|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
Sink that still represents a compile-time string. More...
#include <StringSink.hpp>
Public Member Functions | |
| constexpr | StringLiteralSink (const StringLiteral< N > &input) |
| std::string | to_string () const |
| constexpr StringLiteral< N > | to_string_literal () const |
Stream operators | |
| template<size_t OtherSize> | |
| constexpr auto | operator<< (const char(&rhs)[OtherSize]) const |
| template<size_t OtherSize> | |
| constexpr auto | operator<< (const StringLiteral< OtherSize > &rhs) const |
| template<impl::RuntimeSinkChunk T> | |
| constexpr auto | operator<< (T &&rhs) const |
Equality operators | |
| template<size_t OtherSize> | |
| constexpr bool | operator== (const char(&other)[OtherSize]) const |
| template<size_t OtherSize> | |
| constexpr bool | operator== (const StringLiteralSink< OtherSize > &other) const |
| template<size_t OtherSize> | |
| constexpr bool | operator== (const StringLiteral< OtherSize > &other) const |
Public Attributes | |
| StringLiteral< N > | value |
Static Public Attributes | |
| static constexpr bool | is_compile_time = true |
This sink is produced when every chunk streamed into mundy::sink() is either a string literal or a mundy::StringLiteral. It supports further literal concatenation at compile time and promotes to StringSink automatically when a runtime value is appended.
|
inlineexplicitconstexpr |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
| StringLiteral<N> mundy::StringLiteralSink< N >::value |