Logo Search packages:      
Sourcecode: kbruch version File versions  Download package

void primenumber::move_back (  )

moves the internal pointer to the previous prime number

Definition at line 142 of file primenumber.cpp.

References current_pos, and prim_vector.

Referenced by ratio::reduce().

    /* current_pos must be at least pointing to the first element
     * of our vector after this function */
    if (current_pos != prim_vector.begin())

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index