Comments (8)
Can you provide a minimal reproducible example, please?
I barely get what you're talking about, sorry. Thanks in advance.
from entt.
Really, I don't get what you mean with the class destructor is called as soon as it is done with the creation and I can't compile and debug random projects from the web during the day, you know. 🙂
What destructor is called? The one of your component? What does after creation mean? Perhaps after invoking emplace
?
from entt.
I really need a reproducible example to help, I'm sorry. I don't even get what your problem is at the moment. I'm sorry.
I'll keep this PR around for a while waiting for more details. If they don't arrive, I'll close it as invalid in a few days. 👍
from entt.
After asking over and over for a repro so I could help, I now watched a few minutes of an 11 minute video in which someone either insults the author of EnTT or tries to prove that there is a bug in EnTT on the creation of components (which would make the library unusable, it's odd no one noticed).
This is sad because my desire to help clashes with the demand that I invest hours for free to debug a codebase I don't know, when it would be enough to put in the effort like everyone else does to provide an MRE and get the help you need.
I stopped watching the video after seeing yet another reference captured as auto var = ...
btw which, as we all know, makes a copy of the elements.
My feeling was that you've an issue with your types that aren't correctly defined (ie not movable or with a badly designed move ctor/op), but seeing all the auto var = ...
captures also makes me doubt about the overall knowledge of the language.
In any case, I'll leave this issue open for a couple more days. If you can provide an MRE you'll have all my help like anyone else so far.
In the meantime, the issue is marked as invalid (and not reproducible) because this is it's nature at the moment. I'm sorry.
from entt.
...
from entt.
@MariwanJ, here's a short action plan for you:
- Learn and practice C++ for 5 more years.
- ???
- Return here, re-read the issue and apologize.
from entt.
here's a short action plan for you:
1. Learn and practice C++ for 5 more years. 2. ??? 3. Return here, re-read the issue and apologize.
Typical reply from people that don't help and start to personal attack. learn how you respect others
from entt.
Stop arguing with each other, thanks. It's useless.
from entt.
Related Issues (20)
- Difficult to understand how it works without examples HOT 5
- 'each': is not a member of 'entt::basic registry<entt::entity,std::allocator<Entity>> HOT 1
- Serialization of "dead" components
- C++20 ranges trait specializations
- Efficiently iterating over a set of groups? HOT 2
- Signals not triggering properly in storage mixin iterator based insert HOT 2
- Access violation when using registry.clear<Component>() HOT 9
- Is it possible to use entt::nth_argument_t with lambdas that capture? HOT 6
- Question it is posible to use Entt with lightweight wrapper class as a entt::entity HOT 2
- Calling valid() on empty entt::valid leads to a segmentation fault.
- Add ability to compare entt::null and entt::handle
- Components with overriden new operator. HOT 6
- sparse_set_iterator::operator[] causes warnings when used with size_t HOT 6
- Working with multiple storages for the same type and preparing a view for each of the storages HOT 3
- entt build error: unused type alias 'common_type' HOT 9
- assert on destroy (inside of release function) non-orphan entity HOT 8
- Handling large tilemap HOT 7
- Acecss components of an entity, without giving full registry access HOT 14
- bazel version and compatibility number out of sync
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 entt.