cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
const AND throw functions?
const AND throw functions?
May 6, 2012 at 6:08pm UTC
hopesfall
(179)
can a function be declared as a const function as well as being a const function? Something like:
int
myClass::myFunction(
int
someNum)
const
throw
(MyException){}
May 6, 2012 at 6:26pm UTC
codekiddy
(783)
Yes it can.
Topic archived. No new replies allowed.