Skip to content

nordicMoose/property_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Property system for c++

Simple system to achieve c# like property behaviour using lambdas.

Info:

  • For examples see test.cpp
  • To make a property read-only or write-only, the corresponding template argument must be PropertyDisable
  • Get and set types don't necessarily have to be the same.
  • With a property you can get:
    • Conversion operator
    • Assignment operator
    • Overloaded parenthesis operator for get/set
    • Overloaded arrow operator
    • Get function
    • Set function
  • Arrow operator works only if Get type is a pointer type
  • Requires c++11

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages