welder
0.1.0
Bindings for annotated C++ types, from C++26 reflection
Toggle main menu visibility
Loading...
Searching...
No Matches
module.hpp
Go to the documentation of this file.
1
#pragma once
10
#include <fstream>
// write the header to an output-path argument
11
#include <iostream>
// default to stdout
12
13
#include <
welder/rods/python/opaque_containers/rod.hpp
>
14
23
#define WELDER_OPAQUE_CONTAINERS_MAIN_STYLED(ns, style) \
24
int main(int argc, char** argv) { \
25
if (argc > 1) { \
26
::std::ofstream welder_out_{argv[1]}; \
27
::welder::rods::opaque_containers::rod::generate<^^ns, style>(welder_out_); \
28
} else { \
29
::welder::rods::opaque_containers::rod::generate<^^ns, style>(::std::cout); \
30
} \
31
return 0; \
32
}
33
43
#define WELDER_OPAQUE_CONTAINERS_MAIN(ns) \
44
WELDER_OPAQUE_CONTAINERS_MAIN_STYLED(ns, ::welder::naming::none)
rod.hpp
welder opaque-container generator rod (header-only, text-emitting).
src
welder
rods
python
opaque_containers
module.hpp
Generated by
1.17.0