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

« back to all changes in this revision

Viewing changes to yo/advancedtemplates/userdefined.yo

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2013-05-30 13:32:18 UTC
  • mfrom: (1.1.24)
  • Revision ID: package-import@ubuntu.com-20130530133218-k39mr5uredd093jr
Tags: 9.7.2-1
New upstream release, repairs several minor left-over flaws.
This release incorporates 9.7.0 and 9.7.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    template <char ... Chars>
29
29
    size_t constexpr operator "" _NM2km()
30
30
    {
31
 
        return static_cast<suze_t>(             // forward Chars to NM2km
 
31
        return static_cast<size_t>(             // forward Chars to NM2km
32
32
                NM2km<0, Chars ...>::value * 1.852);
33
33
    }
34
34
            )