aboutsummaryrefslogtreecommitdiff
path: root/build/target
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-24 09:51:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-24 14:52:43 +0200
commit68f96f9213e849d0d7c4cedf3edeaec99743ee27 (patch)
tree271913d74c906971cac555319f5e14d0c66e0c16 /build/target
parent0d5234f4aefd3cc5b5948cc1b9dd009e50046f5e (diff)
New variable architecture
Diffstat (limited to 'build/target')
-rw-r--r--build/target22
1 files changed, 11 insertions, 11 deletions
diff --git a/build/target b/build/target
index 9e15550..2c05ea1 100644
--- a/build/target
+++ b/build/target
@@ -262,33 +262,33 @@ namespace build
// Lookup, including in groups to which this target belongs and
// then in outer scopes (including target type/pattern-specific
// variables). If you only want to lookup in this target, do it
- // on the the variable map directly.
+ // on the variable map directly.
//
- value_proxy
+ lookup<const value>
operator[] (const variable&) const;
- value_proxy
+ lookup<const value>
operator[] (const std::string& name) const
{
return operator[] (variable_pool.find (name));
}
- // Return a value_proxy suitable for assignment. See class scope
- // for details.
+ // Return a value suitable for assignment. See class scope for
+ // details.
//
- value_proxy
+ value&
assign (const variable& var) {return vars.assign (var).first;}
- value_proxy
+ value&
assign (const std::string& name) {return vars.assign (name).first;}
- // Return a value_proxy suitable for appending. See class scope
- // for details.
+ // Return a value suitable for appending. See class scope for
+ // details.
//
- value_proxy
+ value&
append (const variable&);
- value_proxy
+ value&
append (const std::string& name)
{
return append (variable_pool.find (name));