conversion.hpp

# conversion.hpp #

Provides macros to automatically define conversion functions for supporting user-defined types with `toml::get` and `toml::find`.

    TOML11_DEFINE_CONVERSION_NON_INTRUSIVE(NAME, ...)

## Example #

    namespace foo
    {
    struct Foo
    {
        std::string s;
        double      d;
        int         i;
    };
    } // foo

    TOML11_DEFINE_CONVERSION_NON_INTRUSIVE(foo::Foo, s, d, i)

# Related #

- from.hpp
- into.hpp