Function make_array

Synopsis

#include <include/cpptoml.h>

std::shared_ptr< array > make_array()

Description

No description yet.

Source

Lines 1021-1032 in include/cpptoml.h. Line 395 in include/cpptoml.h.

inline std::shared_ptr<array> make_array()
{
    struct make_shared_enabler : public array
    {
        make_shared_enabler()
        {
            // nothing
        }
    };

    return std::make_shared<make_shared_enabler>();
}





Add Discussion as Guest

Log in