Git Product home page Git Product logo

Comments (7)

J-Roux avatar J-Roux commented on July 17, 2024 1

Thank you. But in this way docs are still incorrect.

from outcome.

ned14 avatar ned14 commented on July 17, 2024

If you replace the problem std items with boost, it works. See https://godbolt.org/z/ensfo4jEY.

As to why boost::exception_ptr won't accept a std::exception_ptr, I CC in @zajo to see if he can tell us.

from outcome.

ned14 avatar ned14 commented on July 17, 2024

Depends on your definition of "incorrect". Outcome has always been clear that it comes in standalone and Boost flavours, and the defaulted template parameters are the only thing which varies between the two. Most users of either understand this and adapt the examples appropriately.

from outcome.

J-Roux avatar J-Roux commented on July 17, 2024

I read this example in boost docs(https://www.boost.org/doc/libs/1_77_0/libs/outcome/doc/html/tutorial/essential/outcome.html). And I expected that example in boost docs are compilable. I think it is a common sense.

from outcome.

ned14 avatar ned14 commented on July 17, 2024

@zajo

from outcome.

zajo avatar zajo commented on July 17, 2024

Try with current develop. Note, you need both the throw_exception and exception repos.

from outcome.

ned14 avatar ned14 commented on July 17, 2024

Cool thanks Emil. I'm going to go ahead and close this now, but thanks for raising the issue.

from outcome.

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.