Skip to content

Commit a7d16a5

Browse files
authored
mention TOML_DISABLE_CONDITIONAL_NOEXCEPT_LAMBDA in README.md (#269)
1 parent fea1d90 commit a7d16a5

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

README.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -203,26 +203,27 @@ See [CONTRIBUTING] for information.
203203
A number of configurable options are exposed in the form of preprocessor `#defines` Most likely you
204204
won't need to mess with these at all, but if you do, set them before including toml++.
205205

206-
| Option | Type | Description | Default |
207-
| --------------------------------- | :------------: | --------------------------------------------------------------------------------------------------------- | --------------------- |
208-
| `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 |
206+
| Option | Type | Description | Default |
207+
| ------------------------------------------ | :------------: | --------------------------------------------------------------------------------------------------------- | --------------------- |
208+
| `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 |
226227

227228
> &#xFE0F; _A number of these have ABI implications; the library uses inline namespaces to prevent you from accidentally
228229
> linking incompatible combinations together._

0 commit comments

Comments
 (0)