Range: Corrected range symbols in comments

This commit is contained in:
Paul Beckingham 2016-04-26 08:30:21 -04:00
parent a271e0b901
commit fd4bd5fbc0

View file

@ -62,27 +62,27 @@ bool Range::ended () const
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Detect the following overlap cases: // Detect the following overlap cases:
// //
// this |--------| // this [--------)
// A |--------| // A [--------)
// B |--------| // B [--------)
// C |----| // C [----)
// D |--------| // D [--------)
// E |--------| // E [--------)
// F |-------------| // F [-------------)
// G |... // G [...
// H |... // H [...
// I |... // I [...
// //
// this |... // this [...
// A |--------| // A [--------)
// B |--------| // B [--------)
// C |----| // C [----)
// D |--------| // D [--------)
// E |--------| // E [--------)
// F |-------------| // F [-------------)
// G |... // G [...
// H |... // H [...
// I |... // I [...
// //
bool Range::overlap (const Range& other) const bool Range::overlap (const Range& other) const
{ {
@ -103,27 +103,27 @@ bool Range::overlap (const Range& other) const
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Calculate the following intersection cases: // Calculate the following intersection cases:
// //
// this |--------| // this [--------)
// A |--------| // A [--------)
// B |--------| // B [--------)
// C |----| // C [----)
// D |--------| // D [--------)
// E |--------| // E [--------)
// F |-------------| // F [-------------)
// G |... // G [...
// H |... // H [...
// I |... // I [...
// //
// this |... // this [...
// A |--------| // A [--------)
// B |--------| // B [--------)
// C |----| // C [----)
// D |--------| // D [--------)
// E |--------| // E [--------)
// F |-------------| // F [-------------)
// G |... // G [...
// H |... // H [...
// I |... // I [...
// //
Range Range::intersect (const Range& other) const Range Range::intersect (const Range& other) const
{ {
@ -156,27 +156,27 @@ Range Range::intersect (const Range& other) const
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Consider the following overlap cases: // Consider the following overlap cases:
// //
// this |--------| // this [--------)
// A |--------| // A [--------)
// B |--------| // B [--------)
// C |----| // C [----)
// D |--------| // D [--------)
// E |--------| // E [--------)
// F |-------------| // F [-------------)
// G |... // G [...
// H |... // H [...
// I |... // I [...
// //
// this |... // this [...
// A |--------| // A [--------)
// B |--------| // B [--------)
// C |----| // C [----)
// D |--------| // D [--------)
// E |--------| // E [--------)
// F |-------------| // F [-------------)
// G |... // G [...
// H |... // H [...
// I |... // I [...
// //
std::vector <Range> Range::subtract (const Range& other) const std::vector <Range> Range::subtract (const Range& other) const
{ {