Comments (3)
This is working fine for me.
This is even tested there:
Lines 144 to 150 in 9b62bf4
What version are you using? What error do you get?
from rust-cpp.
You are quite right, this issue is invalid. The compiler was generating a misleading error from within the macro for a more complicated test case. The macro is working exactly as it should.
from rust-cpp.
What was the misleading error? Perhaps this can be improved?
from rust-cpp.
Related Issues (20)
- Using cpp! macro in integration tests HOT 1
- Nothing but praise HOT 1
- undefined reference to `std::__throw_bad_array_new_length()'
- Adding docs to cpp_class! generated classes HOT 2
- Link error on MacOS arm64 HOT 3
- Updating aho-corasick HOT 1
- Document how exceptions are handled HOT 3
- Easier conversion from `cc::Build` to `cpp_build::Config` ? HOT 1
- [Question] include local some.hpp HOT 1
- Using elements defined in `cpp!` macro in other cpp files
- duplicate typeinfo for templates HOT 2
- Submodule skipping `mod.rs`, not found by `cpp_build`. HOT 1
- Metadata parsing assumes little endian, even for big endian targets HOT 1
- Align and size assertion failures HOT 7
- Feature request: support attributes in rust! pseudo-macro
- Feature request: compile time constexpr in Rust via cpp!() HOT 1
- Extra blanks in generated cpp_closures.cpp HOT 4
- Make the cpp! macro a real proc macro HOT 2
- Error while Wrapping a C++ Class HOT 5
- Many clippy warnings when running on code containing `cpp!` macro HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-cpp.