Last active
September 24, 2015 23:37
-
-
Save gununu/827090 to your computer and use it in GitHub Desktop.
STATIC_IF library for C++
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please refer new C++14 static_if library | |
https://github.com/gununu/static_if |
Thank you for your recommendation.
This library's behavior is depending on GCC4.5.1. The mechanism in this library probably hasn't compatibility with C++ specification. So I would rather not propose to Boost.
Regards,
gununu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just found this as I was working in a situation which called for something like this. The static if has been for C++ and has been debated and disputed. I see your implementation as a very valuable contribution. Please consider adding this to the Boost Library Incubator (www.blincubator.com). Note in order to be successful, you would have have to do some more work:
a) provide documentation
b) provide test cases.
c) probably change the namespace name.
I agree this above isn't trivial, - but i since this would be a very small library, I don't think this would be very difficult for you. Thanks for considering this.
Robert Ramey