Boost logo

Boost :

From: Steve M. Robbins (steven.robbins_at_[hidden])
Date: 2002-09-16 13:00:49


There's a bit of code in there that reads

    // have to #ifdef here: some compilers don't like the 'N + 1' form (MSVC),
    // while some other don't like 'value + 1' (Borland)
#if !defined(__BORLANDC__)
    typedef integral_c<T, value + 1> next;
    typedef integral_c<T, value - 1> prior;
    typedef integral_c<T, N + 1> next;
    typedef integral_c<T, N - 1> prior;

The MIPSpro compiler (version 7.30, using -LANG:std) doesn't like either form.
Is there a third way?


Boost list run by bdawes at, gregod at, cpdaniel at, john at