Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Constant (read-only) member functions #7908
This issue was originally filed by phlo...@gmail.com
I really like this feature from C++.
MSDN Constant member functions (http://msdn.microsoft.com/en-us/library/6ke686zh(v=vs.80).aspx):
example C++ code:
I would like to see some Dart equivalent.
It sounds simple, but it isn't really if done right.
Should there be a way out of const-jail like C++'s const_cast? If not, it can get very restrictive.