C++ Logo

sg7

Advanced search

[SG7] Can singular properties be overloaded to work with reflection ranges ?

From: Cleiton Santoia <cleitonsantoia_at_[hidden]>
Date: Tue, 3 Nov 2020 01:56:03 -0300
Two points:

1 - Can singular properties, like name_of be overloaded to work with
reflection_ranges ?

consteval auto name_of(info) -> string
consteval auto name_of(reflection_range) -> vector<string> ?

consteval bool is_member_function(info);
consteval auto is_member_function(reflection_range); -> vector<int8_t> ? //
ok,ok vector<bool> not good

consteval std::size_t size_of(info);
consteval auto size_of( reflection_range); -> vector< std::size_t >

2 - Can this "ranged" versions be implemented thru reflection ?

Thanks
BR

Received on 2020-11-02 22:56:15