• DocumentCode
    1651376
  • Title

    A semantics of the separation of interface and implementation in C++

  • Author

    Cho, Eun-Sun ; Han, Sang-Yong ; Kim, Hyoung-Joo

  • Author_Institution
    Dept. of Comput. Sci., Seoul Nat. Univ., South Korea
  • fYear
    1996
  • Firstpage
    83
  • Lastpage
    89
  • Abstract
    C++ uses `class´ as the basis of `subtype polymorphism´ and `inheritance´, but it has been pointed out that the overloading of `class´ limits the expressiveness and makes its type system inflexible. This means that C++ and some other object oriented languages had to separate a class into two modules-an interface and an implementation. But, there seems to be no leading C++ model for separating the interface lattice from the implementation lattice. Moreover none of the proposed models describe the result of the separation in a formal way. As a result it is hard to understand what the type space would be like after the separation. The paper presents a formal model for the separation of interface and implementation in C++, and which explains the properties of the resulting type space after the separation
  • Keywords
    C language; abstract data types; computational linguistics; formal languages; object-oriented languages; object-oriented programming; C++ model; formal model; implementation lattice; inheritance; interface lattice; interface/implementation separation; object oriented languages; semantics; type system; Computer interfaces; Computer science; Lattices; Object oriented databases; Object oriented modeling; Protection;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 1996. COMPSAC '96., Proceedings of 20th International
  • Conference_Location
    Seoul
  • ISSN
    0730-3157
  • Print_ISBN
    0-8186-7579-9
  • Type

    conf

  • DOI
    10.1109/CMPSAC.1996.542430
  • Filename
    542430