Skip to content

Commit 89adc92

Browse files
committed
organizing metadata: finished. cleanup done.
1 parent eadead6 commit 89adc92

25 files changed

+17
-383
lines changed

ReflectionTemplateLib/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ target_include_directories(${PROJECT_NAME}
1515
PUBLIC
1616
${CMAKE_CURRENT_SOURCE_DIR}
1717
${CMAKE_CURRENT_SOURCE_DIR}/rtl/builder
18-
${CMAKE_CURRENT_SOURCE_DIR}/rtl/cache
1918
${CMAKE_CURRENT_SOURCE_DIR}/rtl/detail
2019
${CMAKE_CURRENT_SOURCE_DIR}/rtl/dispatch
2120
${CMAKE_CURRENT_SOURCE_DIR}/rtl/inc

ReflectionTemplateLib/rtl/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ source_group("Header Files\\RTL" FILES ${LOCAL_HEADERS})
1818
add_subdirectory(inc)
1919
add_subdirectory(src)
2020
add_subdirectory(builder)
21-
add_subdirectory(cache)
2221
add_subdirectory(detail)
2322
add_subdirectory(dispatch)

ReflectionTemplateLib/rtl/builder/SetupConstructor.hpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,6 @@ namespace rtl::detail
186186
return (itr != ctorSet.end() ? itr->second : index_none);
187187
};
188188

189-
//auto& lambdaCache = lambda_function<member::None>::get<_signature...>();
190-
//const auto& pushLambdaHopper = [&]()-> std::size_t
191-
//{
192-
// return lambdaCache.push_cloner<_recordType>();
193-
//};
194-
195189
//add the lambda in 'FunctorContainer'.
196190
auto lambdaIndex = _derivedType::pushBack(getCopyConstructorCaller<_recordType>(), getIndex, updateIndex);
197191
return detail::FunctorId {
@@ -201,7 +195,7 @@ namespace rtl::detail
201195
recordId,
202196
containerId,
203197
_derivedType::template getSignatureStr<_recordType>(true),
204-
nullptr//&lambdaCache
198+
nullptr
205199
};
206200
}
207201
}

ReflectionTemplateLib/rtl/cache/CMakeLists.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

ReflectionTemplateLib/rtl/cache/cache_lambda_function.h

Lines changed: 0 additions & 54 deletions
This file was deleted.

ReflectionTemplateLib/rtl/cache/cache_lambda_method.h

Lines changed: 0 additions & 49 deletions
This file was deleted.

ReflectionTemplateLib/rtl/detail/inc/FunctionCaller.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
#include "FunctorContainer.h"
1818

1919
#include "functor_cast.h"
20+
#include "function_ptr.h"
21+
#include "rtl_function.h"
2022
#include "rtl_function_erased_return.h"
2123

22-
#include "lambda_method.h"
23-
#include "lambda_function.h"
24-
25-
2624
namespace rtl::detail
2725
{
2826
template<bool is_binding_v, class ..._signature>

ReflectionTemplateLib/rtl/detail/inc/MethodInvoker.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
#include "MethodInvoker.h"
1717
#include "MethodContainer.h"
1818

19-
#include "lambda_method.h"
19+
#include "method_ptr.h"
20+
#include "method_ptr_const.h"
2021

2122
#include "rtl_method.h"
2223
#include "rtl_method_const.h"
2324
#include "rtl_method_erased.h"
2425
#include "rtl_method_erased_target.h"
2526
#include "rtl_method_erased_return.h"
2627

27-
2828
namespace rtl::detail
2929
{
3030
/* @lambda: call()
@@ -242,7 +242,7 @@ namespace rtl::detail
242242

243243
template<class record_t, class ...args_t>
244244
template<class return_t> requires (!traits::type_aware_v<record_t, return_t>)
245-
inline void HopMethod<record_t, args_t...>::initHopper(method<record_t, return_t(args_t...)>& pHopper) const
245+
inline void HopMethod<record_t, args_t...>::initHopper(method<record_t, return_t(args_t...)>& pHopper) const
246246
{
247247
bool isReturnTvoid = false;
248248
for (auto& ty_meta : m_overloadsFnMeta)

ReflectionTemplateLib/rtl/dispatch/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ set(LOCAL_HEADERS
66
"${CMAKE_CURRENT_SOURCE_DIR}/functor.h"
77
"${CMAKE_CURRENT_SOURCE_DIR}/functor_cast.h"
88

9+
"${CMAKE_CURRENT_SOURCE_DIR}/cache_method_ptr.h"
10+
"${CMAKE_CURRENT_SOURCE_DIR}/cache_function_ptr.h"
11+
"${CMAKE_CURRENT_SOURCE_DIR}/cache_method_ptr_const.h"
12+
913
"${CMAKE_CURRENT_SOURCE_DIR}/method_ptr.h"
1014
"${CMAKE_CURRENT_SOURCE_DIR}/method_ptr.hpp"
1115
"${CMAKE_CURRENT_SOURCE_DIR}/method_lambda.h"
@@ -16,10 +20,6 @@ set(LOCAL_HEADERS
1620
"${CMAKE_CURRENT_SOURCE_DIR}/function_ptr.hpp"
1721
"${CMAKE_CURRENT_SOURCE_DIR}/function_lambda.h"
1822

19-
"${CMAKE_CURRENT_SOURCE_DIR}/lambda_base.h"
20-
"${CMAKE_CURRENT_SOURCE_DIR}/lambda_method.h"
21-
"${CMAKE_CURRENT_SOURCE_DIR}/lambda_function.h"
22-
2323
"${CMAKE_CURRENT_SOURCE_DIR}/aware_return.h"
2424
"${CMAKE_CURRENT_SOURCE_DIR}/aware_constructor.h"
2525
"${CMAKE_CURRENT_SOURCE_DIR}/aware_return_n_target.h"

0 commit comments

Comments
 (0)