tower120 / cpp_property

Zero overhead C# like properties for C++!
MIT License
18 stars 0 forks source link

Static properties #1

Open bstordrup opened 9 months ago

bstordrup commented 9 months ago

Hi,

Is the library able to create static properties on classes - also on static classes?

tower120 commented 9 months ago

Hi.

What is static classes in C++ terms? What do you understand under "static properties"?

And I remember how lib actually works a little vague... From what I can see now - looks like "lambda_oriented" branch can only work with immobile "this", since you have to capture self/this in lambda. There is an "stateless" branch - it passes this/self to your lambda - so it can be moved around... At least that how it looks like...

Truth to say - there is probably better "properties for C++" libs now...