Skip to content

Instantly share code, notes, and snippets.

@gununu
Last active September 24, 2015 23:37
Show Gist options
  • Save gununu/827090 to your computer and use it in GitHub Desktop.
Save gununu/827090 to your computer and use it in GitHub Desktop.
STATIC_IF library for C++
Please refer new C++14 static_if library
https://github.com/gununu/static_if
@robertramey
Copy link

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

@gununu
Copy link
Author

gununu commented Mar 6, 2015

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