Code Monkey home page Code Monkey logo

Comments (4)

barcode avatar barcode commented on July 24, 2024

As someone who uses this library and extends it for my own projects (e.g. generating the glue code from h5cpp-compiler with a macro), I would question the reasoning behind making this library c++11 compliant.

Using c++17 reduces the amount of code necessary (e.g. with if constexpr). This improves readability and thus code quality (less code to make mistakes) and maintainability (easier to spot mistakes).
Furthermore this library already depends on c++17 and so do all downstream projects (Upgrading from c++11 to c++17 would be a different issue).

Altogether i don't think it makes a lot of sense to use a standard which is eight years old and would vote for declaring this project as c++17 (at least my fork will stay c++17).

from h5cpp.

steven-varga avatar steven-varga commented on July 24, 2024

from h5cpp.

barcode avatar barcode commented on July 24, 2024

Ok, this means i will create PRs if I refactor something to c++17 while reading the source.

from h5cpp.

steven-varga avatar steven-varga commented on July 24, 2024

As of 2020 c++17 compilers are catching up; reopen ticket with strong justification if c+11 non-compliance is an issue.

from h5cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.