OleksandrKvl / sbepp

C++ implementation of the FIX Simple Binary Encoding
https://oleksandrkvl.github.io/sbepp/
MIT License
42 stars 4 forks source link

Make more functions C++11 `constexpr` #42

Closed OleksandrKvl closed 6 months ago

OleksandrKvl commented 6 months ago

Use plain constexpr keyword in more places. Probably the only noticeable effect of this change is that size_bytes(composite_type{}) is now fully constexpr even in C++11.