mattreecebentley / plf_hive

plf::hive is a fork of plf::colony to match the current C++ standards proposal.
https://plflib.org/colony.htm
zlib License
71 stars 7 forks source link

Use std::conditional_t for type-switching pattern #4

Closed frederick-vs-ja closed 2 years ago

frederick-vs-ja commented 2 years ago

Slightly reduce the burden on compilers during template instantiation.

mattreecebentley commented 2 years ago

Nice, yes - this is another hangover from the original colony implementation supporting c++98/03. Will implement. I also need to do a bunch of other changes so will either accept this and do them after or just do it in the beta then submit.

mattreecebentley commented 2 years ago

Fixed in beta

On 14/04/2022 4:48 pm, A. Jiang wrote:

Slightly reduce the burden on compilers during template instantiation.


    You can view, comment on, or merge this pull request online at:

https://github.com/mattreecebentley/plf_hive/pull/4 https://github.com/mattreecebentley/plf_hive/pull/4

    Commit Summary

(1 file https://github.com/mattreecebentley/plf_hive/pull/4/files)

— Reply to this email directly, view it on GitHub https://github.com/mattreecebentley/plf_hive/pull/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE4FISCANXQYMVTNLPCFY3VE6PRDANCNFSM5TMTPMFA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

mattreecebentley commented 2 years ago

Fixed in new version - thank you