pod_reflection
pod_reflection copied to clipboard
Simple C++ one-header stl based library implementing reflection for POD data types
- return type? (consider same as `std::mem_fn`) - API function name
This should be supported: ``` eld::for_each(pod, [](auto &elem, size_t indx){}); eld::for_each(pod, [](auto &elem, std::integral_constant){}); eld::for_each(pod, [](auto &elem, const auto& indx){}); // index is of type std::integral_constant ```
Each test must generate structs with fundamental and with user-defined aggregate-constructible elements. Functions to test: - [ ] `pod_size`. - [ ] `pod_element_t` - [ ] `for_each` Test `.cpp` files...