~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty

« back to all changes in this revision

Viewing changes to yo/functiontemplates/considerations.yo

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2012-01-20 11:53:17 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20120120115317-v4wiq9sttx72fabk
Tags: 9.1.0-1
New upstream release (covering C++11 to a large extend)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    }
33
33
        )
34
34
    Here, a tt(string const &) cannot be used to initialize a tt(string &).
35
 
Had tt(add) define tt(Type &&) parameters then the above program would have
 
35
Had tt(add) defined tt(Type &&) parameters then the above program would have
36
36
compiled just fine. In addition the following example correctly compiles as
37
37
the compiler decides that tt(Type) apparently is a tt(string const):
38
38
        verb(