template struct mrpt::is_defined

Checks if type is defined (fails for forward declarations).

Credits: WindyFields https://stackoverflow.com/a/45594334/1631514

#include <mrpt/core/is_defined.h>

template <class T, class Enable = void>
struct is_defined
{
    //
fields

    static constexpr bool value = false;
};