cbbowen / graph

Efficient, header-only graph library for C++17 with a pleasant interface.
MIT License
16 stars 3 forks source link

C++14 support #11

Open eyalroz opened 5 years ago

eyalroz commented 5 years ago

How difficult it is to make the library work in C++14 as well? If the dependencies are essentially on the library (e.g. std::variant, std::any) - there are C++14 alternatives for most of that; would you consider conditionally-using them?

cbbowen commented 5 years ago

Unfortunately, in addition to the new standard library types, it uses nested namespace definitions, structured bindings, if-initializers, and class template argument deduction. Some of these would be easy fixes, others not. I feel your pain, though. I'm still stuck with C++11 at work.

On Wed, Mar 27, 2019, 2:54 PM Eyal Rozenberg notifications@github.com wrote:

How difficult it is to make the library work in C++14 as well? If the dependencies are essentially on the library (e.g. std::variant, std::any)

  • there are C++14 alternatives for most of that; would you consider conditionally-using them?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cbbowen/graph/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AEj8vsSIukhJpom3CtQwBb_Sga1W7u6Gks5va-iOgaJpZM4cO21K .