Implementing Concepts

نویسندگان

  • Douglas Gregor
  • Jeremy Siek
چکیده

This document describes the implementation of the “Indiana” concepts proposal [GSW05]. We relate the challenges we faced in the development of ConceptGCC, our prototype compiler for C++ with concepts. ConceptGCC, based on the GNU C++ compiler [GCC05], provides support for all major features of the concept proposal [GSW05] and includes an updated Standard Library implementation that uses concepts extensively. We also discuss the compiler for G, a language designed specifically for Generic Programming, to illustrate how one can implement concepts cleanly in a new compiler. The intent of this document is to inform implementors of the interesting and difficult details of implementing concepts and advise implementors how to approach the task. Additionally, we hope to provide users and implementors alike a clearer picture of the compilation model required to fully support concepts and give a feel of how users will program with concepts. It is strongly recommended that the reader be familiar with the Indiana concepts proposal, N1849, prior to reading this document.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Implementing Cooperative Solution Concepts: a Generalized Bidding Approach

This paper provides a framework for implementing and comparing several solution concepts for transferable utility cooperative games. We construct bidding mechanisms where players bid for the role of the proposer. The mechanisms differ in the power awarded to the proposer. The Shapley, consensus and equal surplus values are implemented in subgame perfect equilibrium outcomes as power shifts away...

متن کامل

Feasibility of Implementing Blockchain and Internet of Things Technologies in Hospitals Affiliated to Tabriz University of Medical Sciences

Objective Considering the importance of implementing Internet of Thing (IoT) and blockchain technologies in the health sector, and the need to assess the feasibility of each project before implementation, this study aims to assess feasibility of implementing blockchain and IoT technologies in hospitals affiliated to Tabriz University of Medical Sciences. Methods This cross-sectional study was ...

متن کامل

HR - Automatic Concept Formation in Finite Algebras

We are investigating how and why mathematicians invent new concepts while developing a theory, and implementing our ideas into the HR system, which automatically produces, assesses and displays concepts in finite algebras, such as finite group theory. We fit’st determined a reason for HI~ to produce concepts to classify a given set of groups up to isomorphism. Doing so would involve inventing c...

متن کامل

A Uniform Terminology for C++ Concepts

The purpose of this note is to specify a uniform terminology for the design and implementation of concepts for C++, based on influential literature on generic programming with concepts. The terminology results from an ongoing work in specifying an infrastructure for implementing C++ concepts, called ConceptClang. We solicit feedback and hope that the terminology will facilitate conversations ab...

متن کامل

Implementing the (De-)Composition of Concepts: Oscillatory Networks, Coherency Chains and Hierarchical Binding

The paper introduces oscillatory networks as a model of the realization of lexical and non-lexical complex concepts in the cortex. The network has both perceptual and semantic capabilities. Three adequacy conditions, the compositionality of meaning, the compositionality of content, and the co-variation with content, are satisfied. Coherency chains and hierarchical mechanisms of binding are disc...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005