Oops. Sorry about that.<br>The corrected version has been uploaded:<br><br><a href="http://zalewski.indefero.net/p/clang/downloads/12/">http://zalewski.indefero.net/p/clang/downloads/12/</a><br><br>The feature "clang_concepts" has thus been defined.<br>
<br>Thanks,<br>-- Larisse.<br><br><br><div class="gmail_quote">On Fri, Apr 22, 2011 at 4:06 PM, Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com">dgregor@apple.com</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;">
<div style="word-wrap: break-word;"><br><div><div class="im"><div>On Apr 22, 2011, at 12:10 PM, Larisse Voufo wrote:</div><br><blockquote type="cite">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/" target="_blank">http://zalewski.indefero.net/p/clang/downloads/11/</a><br></blockquote><div><br></div></div>Please don't define a special macro for concepts. The Clang way to detect features is by extending __has_feature, described here:</div>
<div><br></div><div><span style="white-space: pre-wrap;">       <a href="http://clang.llvm.org/docs/LanguageExtensions.html#feature_check" target="_blank">http://clang.llvm.org/docs/LanguageExtensions.html#feature_check</a></span></div>
<div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;"></span><span style="white-space: pre-wrap;"><span style="white-space: pre-wrap;">      </span>- Doug</span></div><div><div></div>
<div class="h5"><div><span style="white-space: pre-wrap;"><br></span><blockquote type="cite">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" target="_blank">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>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>





<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><div> <br></div><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>
<div> <br></div><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><div> <br></div><p class="MsoNormal">I would like this to enable conditional compilation in my examples.</p>
<div> <br></div><p class="MsoNormal">Thanks</p><div> <br></div><p class="MsoNormal">John</p><div> <br></div><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><div><span style="color: rgb(31, 73, 125);"> </span><br></div><div> <br></div>
</div>
</div>

<br></div></div><div>_______________________________________________<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>
_______________________________________________<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>
</blockquote></div><br></div></div></div></blockquote></div><br>