Function make_table_array

Synopsis

#include <include/cpptoml.h>

std::shared_ptr< table_array > make_table_array(bool is_inline=false)

Description

No description yet.

Source

Lines 1193-1204 in include/cpptoml.h. Line 404 in include/cpptoml.h.

inline std::shared_ptr<table_array> make_table_array(bool is_inline)
{
    struct make_shared_enabler : public table_array
    {
        make_shared_enabler(bool mse_is_inline) : table_array(mse_is_inline)
        {
            // nothing
        }
    };

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





Add Discussion as Guest

Log in