Boost logo

Boost :

From: DY, JERRY U (SBCSI) (jd2419_at_[hidden])
Date: 2004-07-13 22:32:29


Here's another problem while compiling with aC++. This has been reported
to the HP aC++ team, but in the meantime, I'm posting this fix to the
list for review and for future users of Spirit for aC++.

BTW, I'm a little afraid to commit changes to the repository, so quick
question: If I end up committing changes that need to be backed out, can
I delete that version that I committed easily?

Thanks!

boost/spirit/core/primitives/impl/match.ipp:101

===old===

inline void
match<nil_t>::swap(match& other)
{
      std::swap(len, other.len);
}

===new===

inline void
match<nil_t>::swap(match<nil_t>& other)
{
      std::swap(len, other.len);
}

-Jerry


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk