Code Monkey home page Code Monkey logo

Comments (5)

jcoder58 avatar jcoder58 commented on July 18, 2024 1

Actually, it turns out to be a bug in Visual Studio. Intellisense was showing the error, but it compiled with no errors. I had to rebuild the intellisense database to have VS recognize the symbols.

from ureact.

YarikTH avatar YarikTH commented on July 18, 2024
#include <ureact/signal.hpp>
#include <ureact/adaptor/lift.hpp>

using namespace ureact;
using namespace ureact::default_context;

Are omitted. It is not clearly mentioned anywhere and I fixed some of similar cases in the dev branch. But doc/introduction.adoc is not fixed yet even in dev. Thanks for the mentioning.

from ureact.

jcoder58 avatar jcoder58 commented on July 18, 2024

I've updated my comment with the changed code (after your reply). The namespace ureact is undefined using the includes shown in the first comment.

from ureact.

YarikTH avatar YarikTH commented on July 18, 2024

Could you provide the exact error messages? It is very strange if includes are found, but they are no provide the ureact namespace

from ureact.

YarikTH avatar YarikTH commented on July 18, 2024

If you use ureact in MSVC without CMake, only passing include directory, then you might be missing "/Zc:__cplusplus" flag.
Ureact used __cplusplus for standard detection, but MSVC reports the wrong version by default. See
https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/

from ureact.

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.