All pastes #674813 Raw Edit

Anonymous

public cpp v1 · immutable
#674813 ·published 2007-08-29 15:27 UTC
rendered paste body
/*T*//*#if SNACC_DEEP_COPYOriginDestCombination &OriginDestCombination::operator = (const OriginDestCombination &that)#else // SNACC_DEEP_COPYOriginDestCombination &OriginDestCombination::operator = (const OriginDestCombination &)#endif // SNACC_DEEP_COPY{#if SNACC_DEEP_COPY  if (this != &that)  {    if (that.origin)    {      if (!origin)        origin = new AsnInt;      *origin = *that.origin;    }    else    {      delete origin;      origin = NULL;    }    if (that.destination)    {      if (!destination)        destination = new AsnInt;      *destination = *that.destination;    }    else    {      delete destination;      destination = NULL;    }  }  return *this;#else // SNACC_DEEP_COPY  Asn1Error << "use of incompletely defined OriginDestCombination &OriginDestCombination::operator = (const OriginDestCombination &)" << endl;  abort();  // if your compiler complains here, check the -novolat option#endif // SNACC_DEEP_COPY}*/