Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2004-05-06 08:54:12

Bugs item #949189, was opened at 2004-05-06 15:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: date_time
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Pieter (morban)
Assigned to: Jeff Garland (az_sw_dude)
Summary: typos in wrapping_int.hpp

Initial Comment:
In the following code:

template<typename int_type_, int_type_ wrap_min,
int_type_ wrap_max>
class wrapping_int2 {
  typedef int_type_ int_type;
  static unsigned long wrap_value() {return wrap_max;}
  static unsigned long min_value() {return wrap_min;}

the last two lines should probably read (changing return
types and the first function's name):

  static int_type max_value() {return wrap_max;}
  static int_type min_value() {return wrap_min;}

May I suggest renaming this class to "top_wrapping_int"
in reaction to the comment above it?


You can respond by visiting:

This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
Boost-bugs mailing list

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