C++ Logo

SG7

Advanced search

Subject: Can singular properties be overloaded to work with reflection ranges ?
From: Cleiton Santoia (cleitonsantoia_at_[hidden])
Date: 2020-11-02 22:56:03


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



SG7 list run by sg7-owner@lists.isocpp.org

Older Archives on Google Groups