You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`TOML_ASSERT(expr)`| function macro | Sets the assert function used by the library. |`assert()`|
209
-
|`TOML_CALLCONV`| define | Calling convention to apply to exported free/static functions. | undefined |
210
-
|`TOML_CONFIG_HEADER`| string literal | Includes the given header file before the rest of the library. | undefined |
211
-
|`TOML_ENABLE_FORMATTERS`| boolean | Enables the formatters. Set to `0` if you don't need them to improve compile times and binary size. |`1`|
212
-
|`TOML_ENABLE_FLOAT16`| boolean | Enables support for the built-in `_Float16` type. | per compiler settings |
213
-
|`TOML_ENABLE_PARSER`| boolean | Enables the parser. Set to `0` if you don't need it to improve compile times and binary size. |`1`|
214
-
|`TOML_ENABLE_UNRELEASED_FEATURES`| boolean | Enables support for [unreleased TOML language features]. |`0`|
215
-
|`TOML_ENABLE_WINDOWS_COMPAT`| boolean | Enables support for transparent conversion between wide and narrow strings. |`1` on Windows |
216
-
|`TOML_EXCEPTIONS`| boolean | Sets whether the library uses exceptions. | per compiler settings |
217
-
|`TOML_EXPORTED_CLASS`| define | API export annotation to add to classes. | undefined |
218
-
|`TOML_EXPORTED_MEMBER_FUNCTION`| define | API export annotation to add to non-static class member functions. | undefined |
219
-
|`TOML_EXPORTED_FREE_FUNCTION`| define | API export annotation to add to free functions. | undefined |
220
-
|`TOML_EXPORTED_STATIC_FUNCTION`| define | API export annotation to add to static functions. | undefined |
221
-
|`TOML_HEADER_ONLY`| boolean | Disable this to explicitly control where toml++'s implementation is compiled (e.g. as part of a library). |`1`|
222
-
|`TOML_IMPLEMENTATION`| define | Define this to enable compilation of the library's implementation when `TOML_HEADER_ONLY` == `0`. | undefined |
223
-
|`TOML_OPTIONAL_TYPE`| type name | Overrides the `optional<T>` type used by the library if you need [something better than std::optional]. | undefined |
224
-
|`TOML_SMALL_FLOAT_TYPE`| type name | If your codebase has a custom 'small float' type (e.g. half-precision), this tells toml++ about it. | undefined |
225
-
|`TOML_SMALL_INT_TYPE`| type name | If your codebase has a custom 'small integer' type (e.g. 24-bits), this tells toml++ about it. | undefined |
|`TOML_ASSERT(expr)`| function macro | Sets the assert function used by the library. |`assert()`|
209
+
|`TOML_CALLCONV`| define | Calling convention to apply to exported free/static functions. | undefined |
210
+
|`TOML_CONFIG_HEADER`| string literal | Includes the given header file before the rest of the library. | undefined |
211
+
|`TOML_DISABLE_CONDITIONAL_NOEXCEPT_LAMBDA`| boolean | Disables the conditional `noexcept`'s of internal lambda's. Needed for MSVC's "legacy lambda processor". |`0`|
212
+
|`TOML_ENABLE_FORMATTERS`| boolean | Enables the formatters. Set to `0` if you don't need them to improve compile times and binary size. |`1`|
213
+
|`TOML_ENABLE_FLOAT16`| boolean | Enables support for the built-in `_Float16` type. | per compiler settings |
214
+
|`TOML_ENABLE_PARSER`| boolean | Enables the parser. Set to `0` if you don't need it to improve compile times and binary size. |`1`|
215
+
|`TOML_ENABLE_UNRELEASED_FEATURES`| boolean | Enables support for [unreleased TOML language features]. |`0`|
216
+
|`TOML_ENABLE_WINDOWS_COMPAT`| boolean | Enables support for transparent conversion between wide and narrow strings. |`1` on Windows |
217
+
|`TOML_EXCEPTIONS`| boolean | Sets whether the library uses exceptions. | per compiler settings |
218
+
|`TOML_EXPORTED_CLASS`| define | API export annotation to add to classes. | undefined |
219
+
|`TOML_EXPORTED_MEMBER_FUNCTION`| define | API export annotation to add to non-static class member functions. | undefined |
220
+
|`TOML_EXPORTED_FREE_FUNCTION`| define | API export annotation to add to free functions. | undefined |
221
+
|`TOML_EXPORTED_STATIC_FUNCTION`| define | API export annotation to add to static functions. | undefined |
222
+
|`TOML_HEADER_ONLY`| boolean | Disable this to explicitly control where toml++'s implementation is compiled (e.g. as part of a library). |`1`|
223
+
|`TOML_IMPLEMENTATION`| define | Define this to enable compilation of the library's implementation when `TOML_HEADER_ONLY` == `0`. | undefined |
224
+
|`TOML_OPTIONAL_TYPE`| type name | Overrides the `optional<T>` type used by the library if you need [something better than std::optional]. | undefined |
225
+
|`TOML_SMALL_FLOAT_TYPE`| type name | If your codebase has a custom 'small float' type (e.g. half-precision), this tells toml++ about it. | undefined |
226
+
|`TOML_SMALL_INT_TYPE`| type name | If your codebase has a custom 'small integer' type (e.g. 24-bits), this tells toml++ about it. | undefined |
226
227
227
228
> ℹ️_A number of these have ABI implications; the library uses inline namespaces to prevent you from accidentally
0 commit comments