[Insight-users] Histogram GetBinMin()/Max() functions...

Jean-Philippe Guyon jguyon at ils-inc.com
Tue, 20 Jan 2004 16:25:15 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C3DF71.FC88D430
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hello,

I am having a compiler error because I call the GetBinMin() and GetBinMax()
on a const pointer to an histogram.
Those functions should probably be defined as const, like all the other
Get...() functions within the toolkit ?
Am I missing something or is it just an unfortunate oversight ?

Thanks,
Jean-Philippe

------=_NextPart_000_000C_01C3DF71.FC88D430
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D773311821-20012004><FONT face=3DArial color=3D#0000ff =

size=3D2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=3D773311821-20012004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D773311821-20012004><FONT face=3DArial color=3D#0000ff =
size=3D2>I am=20
having a compiler error because&nbsp;I call the GetBinMin() and =
GetBinMax()=20
on&nbsp;a const&nbsp;pointer to an histogram.</FONT></SPAN></DIV>
<DIV><SPAN class=3D773311821-20012004><FONT face=3DArial color=3D#0000ff =
size=3D2>Those=20
functions should probably be defined as const, like all the=20
other</FONT></SPAN><SPAN class=3D773311821-20012004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2> Get...() functions within the toolkit ?</FONT></SPAN></DIV>
<DIV><SPAN class=3D773311821-20012004><FONT face=3DArial color=3D#0000ff =
size=3D2>Am I=20
missing something or is it just an unfortunate oversight =
?</FONT></SPAN></DIV>
<DIV><SPAN class=3D773311821-20012004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D773311821-20012004><FONT face=3DArial color=3D#0000ff =

size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV class=3DSection1>
<P class=3DMsoNormal><SPAN=20
style=3D"FONT-SIZE: 8pt; COLOR: blue; FONT-FAMILY: Arial; =
mso-bidi-font-size: 12.0pt"><SPAN=20
class=3D773311821-20012004><FONT=20
size=3D2>Jean-Philippe</FONT></SPAN></SPAN></P></DIV></BODY></HTML>

------=_NextPart_000_000C_01C3DF71.FC88D430--