ToyGine2 26.2.0
Game Engine for retro consoles
Loading...
Searching...
No Matches
format_string.hpp File Reference

Compile-time validated format-string wrapper for auto {} and positional {N} placeholders. More...

#include "string_like.hpp"
Include dependency graph for format_string.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  toy::FormatString< Args >
 Wrapper around a toy::CStringView pattern with consteval validation of placeholders. More...

Namespaces

namespace  toy
 Root namespace containing all engine modules.

Detailed Description

Compile-time validated format-string wrapper for auto {} and positional {N} placeholders.

Defines toy::FormatString for checking brace pairing, placeholder mode (auto vs positional), and consistency with sizeof...(Args) at compile time.

Note
Included by core.hpp; do not include this file directly.