« first day (1950 days earlier)      last day (478 days later) » 

1:13 PM
 
1 message moved from Lounge<C++>
 
 
1 hour later…
2:30 PM
If I have a class that may have many instances and a class member function that I do not want to have to reallocate for, can I name the function as a static and then use this->_variable to access a non-static member variable from within the function?
 
1 message moved from Lounge<C++>
 

« first day (1950 days earlier)      last day (478 days later) »