• DocumentCode
    3197329
  • Title

    Automatically identifying C++0x concepts in function templates

  • Author

    Sutton, Andrew ; Maletic, Jonathan I.

  • Author_Institution
    Dept. of Comput. Sci., Kent State Univ., Kent, OH
  • fYear
    2008
  • fDate
    Sept. 28 2008-Oct. 4 2008
  • Firstpage
    57
  • Lastpage
    66
  • Abstract
    An automated approach to the identification of C++0x concepts in function templates is described. Concepts are part of a new language feature appearing in the next standard for C++ (i.e., C++0x). Concept identification is the enumeration of constraints on the sets of types over which templates can be instantiated. The approach analyzes template source code and computes a set of viable concept instances describing the implied data abstraction of the template parameters. The approach is evaluated on generic algorithms defined in the C++ Standard Template Library (STL). The evaluation demonstrates the effectiveness of the approach. The approach can be used to assist in reengineering existing generic libraries to C++0x. Additionally, it has the potential to assist in the validation of concept hierarchies and interface definition in generic libraries.
  • Keywords
    C++ language; software libraries; C++0x concepts; concept identification; data abstraction; function templates; generic algorithms; generic libraries; standard template library; Computer science; Libraries; Proposals; Prototypes; Radio access networks; Usability;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, 2008. ICSM 2008. IEEE International Conference on
  • Conference_Location
    Beijing
  • ISSN
    1063-6773
  • Print_ISBN
    978-1-4244-2613-3
  • Electronic_ISBN
    1063-6773
  • Type

    conf

  • DOI
    10.1109/ICSM.2008.4658054
  • Filename
    4658054