forked from Alepha/Alepha
Remove the overload< __LINE__ > hack.
#1
@ -1,32 +0,0 @@
|
|||||||
static_assert( __cplusplus > 2020'99 );
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <Alepha/Alepha.h>
|
|
||||||
|
|
||||||
namespace Alepha::Hydrogen::Meta
|
|
||||||
{
|
|
||||||
inline namespace exports { inline namespace template_overload {} }
|
|
||||||
|
|
||||||
namespace detail::template_overload
|
|
||||||
{
|
|
||||||
inline namespace exports {}
|
|
||||||
|
|
||||||
template< std::size_t >
|
|
||||||
struct holder
|
|
||||||
{
|
|
||||||
struct overload_t;
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace exports
|
|
||||||
{
|
|
||||||
template< std::size_t i >
|
|
||||||
using overload= typename holder< i >::overload_t *;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace exports::template_overload
|
|
||||||
{
|
|
||||||
using namespace detail::template_overload::exports;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -13,15 +13,12 @@ static_assert( __cplusplus > 2020'99 );
|
|||||||
#include <Alepha/Reflection/detail/config.h>
|
#include <Alepha/Reflection/detail/config.h>
|
||||||
#include <Alepha/Reflection/aggregate_initializer_size.h>
|
#include <Alepha/Reflection/aggregate_initializer_size.h>
|
||||||
|
|
||||||
#include <Alepha/Meta/overload.h>
|
|
||||||
#include <Alepha/Meta/type_value.h>
|
#include <Alepha/Meta/type_value.h>
|
||||||
|
|
||||||
namespace Alepha::Hydrogen::Reflection ::detail:: aggregate_members_m
|
namespace Alepha::Hydrogen::Reflection ::detail:: aggregate_members_m
|
||||||
{
|
{
|
||||||
inline namespace exports {}
|
inline namespace exports {}
|
||||||
|
|
||||||
using Meta::overload;
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Basic methodology here.
|
* Basic methodology here.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user