Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
Age::- Operator

Calculates a number of months by subtracting argument age from this one.

C++
int operator -(
    const Age& newAge
) const;
Parameters 
Description 
const Age& newAge 
The age to subtract from this one. 

The calculated number of months.

Exceptions 
Description 
PiaException if argument is greater than this instance. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!