Collapse All

Anypia Programmer's Documentation |  |

Age::- Operator
Age Class Age Members Age Operators Send Feedback

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

C++

    int operator -(
        const Age& newAge
    ) const;

Parameters

Parameters | Description
const Age& newAge | The age to subtract from this one.

Returns

The calculated number of months.

Exceptions

Exceptions | Description
PiaException | PiaException if argument is greater than this instance.

Group

Age Operators

Links
Age Class, Age Members, Age Operators

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!