|
From: <no...@so...> - 2002-01-30 19:21:17
|
Task #46746 has been updated.
Project: Generic Graphics Toolkit
Subproject: GMTL
Summary: Eliminate global const variables
Complete: 10%
Status: Open
Authority : allenb
Assigned to: subatomic, nonchocoboy, allenb
Description: Global consts require library (.o code) and we are not into that.
Maybe look at boot for ideas of how to get around it.
Follow-Ups:
-------------------------------------------------------
Date: 2002-01-30 14:21
By: subatomic
Comment:
you can declare them like so:
namespace gmtl
{
const float pi = 3.1459f;
}
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/pm/task.php?func=detailtask&project_task_id=46746&group_id=43735&group_project_id=16299
|