By the way, the macro __CLANG_CONCEPTS__ has been defined with the latest version, which also supports associated types:<br><br><a href="http://zalewski.indefero.net/p/clang/downloads/11/">http://zalewski.indefero.net/p/clang/downloads/11/</a><br>
<br>Thanks,<br><br>-- Larisse.<br><br><br><div class="gmail_quote">On Fri, Apr 22, 2011 at 9:38 AM, Larisse Voufo <span dir="ltr"><<a href="mailto:lvoufo@cs.indiana.edu">lvoufo@cs.indiana.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear John --<br><br>It's always nice to hear a few words of encouragement. :)<br><br>As you may have noticed, ConceptClang is completely conceptualized for the moment. <br>The intention is to add a compiler flag at some point that allows one to move between conceptualized and non-conceptualized versions of clang. When this is done, certainly we could provide such a constant or related.<br>

<br>The only thing standing in the way at the moment is our focus on pushing out some most pressing features:<br>Associated types, concept based overloading, and concept map templates.<br><br>I think we got associated types this morning, so we're moving onto concept-based overloading...<br>

<br>I hope this helps.<br><br>Best,<br><font color="#888888">-- Larisse.<br><br><br><br></font><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Apr 20, 2011 at 9:29 AM, Fletcher, John P <span dir="ltr"><<a href="mailto:j.p.fletcher@aston.ac.uk" target="_blank">j.p.fletcher@aston.ac.uk</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">I have been following the development of Clang for some time and I am very pleased to find that it is being used to implement concepts in C++.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have now installed the modified version of Clang and run a few examples.  I see that unlike conceptgcc, there is no need to use a header <concepts>, it knows about them anyway.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Is there any defined constant in the modified Clang which I can use to detect a concepts enabled clang++ ?  e.g. CLANG_CONCEPTS</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I would like this to enable conditional compilation in my examples.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">John</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">Dr John P. Fletcher Tel: (44) 121 204 3389 (direct line), FAX: (44) 121 204 3678</span><span style="color: rgb(31, 73, 125);"></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">Chemical Engineering and Applied Chemistry (CEAC),</span><span style="color: rgb(31, 73, 125);"></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">Associate Dean - External Relations,</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">School of Engineering and Applied Science (EAS),</span><span style="color: rgb(31, 73, 125);"></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">Aston University, Aston Triangle, BIRMINGHAM B4 7ET  U.K.              
</span><span style="color: rgb(31, 73, 125);"></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"> </p>
</div>
</div>

<br></div></div><div class="im">_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></div></blockquote></div><br>
</blockquote></div><br>