welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
Loading...
Searching...
No Matches
lang.hpp File Reference

Target-language vocabulary — the set of languages welder can bind to. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  welder

Enumerations

enum class  welder::lang : unsigned char { welder::py , welder::lua }
 The target languages welder ships rods for — but not the whole value space. More...

Variables

template<unsigned char Slot>
constexpr lang welder::user_lang {static_cast<lang>(16 + Slot)}
 A user-defined language: the Slot-th identity from the mask's user range (bit 16 + Slot) — for binding a language welder does not ship, without touching welder.

Detailed Description

Target-language vocabulary — the set of languages welder can bind to.

Note
Intentionally free of any standard-library include. welder ships header-only today, but the vocabulary is kept std-include-free so it can be re-exported by a future welder C++20 module without a std-leak: std headers in a module unit's purview/GMF leak into every importer (conflicting with their textual std includes on gcc-16). See the "Header-only for now" page in the docs for why modularization is deferred.

Definition in file lang.hpp.