mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[poincare/unit] Add comment about namespace and scope usage
This commit is contained in:
committed by
Émilie Feral
parent
2fa71e4350
commit
202beb3b13
@@ -17,6 +17,16 @@ public:
|
||||
* - a list of allowed output prefixes
|
||||
* Given a Dimension, a representative in that Dimension and a Prefix
|
||||
* allowed for that representative, one may get a symbol and an Expression.
|
||||
*
|
||||
* FIXME ?
|
||||
* The UnitNode class holds as members pointers to a Dimension, a
|
||||
* Representative, a Prefix. Those nested classes may not be forward
|
||||
* declared and must be defined in UnitNode and then aliased in Unit so as
|
||||
* to be used outside. That technical limitation could have been avoided if
|
||||
* UnitNode were itself a nested class of Unit, say Unit::Node. More
|
||||
* generally, turning all the Poincare::...Node classes into nested
|
||||
* Poincare::...::Node classes might be a more clever usage of namespaces
|
||||
* and scopes.
|
||||
*/
|
||||
|
||||
// There are 7 base units from which all other units are derived.
|
||||
|
||||
Reference in New Issue
Block a user