Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2761

Delegating constructors are not allowed by styleguide

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • None
    • None

    Description

      As of right now the styleguide does not allow delegating constructors (being a c++ 11 feature).
      They are already used in the code base (e.g. stout/option.hpp), are supported by all relevant compiler (GCC 4.7+ and Clang 3.0+), and enhance readability.
      Therefore we should officially whitelist them in the styleguide.

      Attachments

        Activity

          People

            js84 Jörg Schad
            js84 Jörg Schad
            Benjamin Hindman Benjamin Hindman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: