<div dir="ltr">I tried to include a variadic parameter into a c++11 attribute:<div><br></div><div>Example:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="tahoma, sans-serif"><i>int main(){</i></font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><i style="font-family:tahoma,sans-serif">....</i><br></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="tahoma, sans-serif"><i><b>[[my::ownattr(</b></i></font><b><font color="#ff0000">RED</font>, <font color="#0000ff">BLUE</font>)</b><i style="font-family:tahoma,sans-serif"><b>]]</b></i></div></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="tahoma, sans-serif"><i>f();</i></font></div></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><i style="font-family:tahoma,sans-serif">....</i></div></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="tahoma, sans-serif"><i>}</i></font></div></blockquote><div><div><br></div><div><br></div><div>being A and B values of an enumerate like:</div><b>enum class Color {RED, GREEN, BLUE};</b><div><br></div><div>Any help?</div><div>Thanks.<br><div><br></div><div>Regards,<br>Luis.<br clear="all"><div><br></div><div class="gmail_signature"><div dir="ltr"><div><span style="font-family:arial;font-size:small">-- </span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small">-- </span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small">--------------------------------------------------</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small">Luis Miguel Sánchez García</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small;border-collapse:collapse">Computer Architecture and Technology Area.</span><div style="font-family:arial;font-size:small">Office 2.2.B08<br><div>Computer Science Department. UNIVERSIDAD CARLOS III DE MADRID<br>Universidad Carlos III de Madrid<br>Avda. de la Universidad, 30<br>28911 Leganés - Madrid - Spain<br>e-mail: <a href="mailto:lmsan@arcos.inf.uc3m.es" style="color:rgb(17,85,204)" target="_blank">lmsan@arcos.inf.uc3m.es</a><br> <a href="mailto:luismiguel.sanchez@uc3m.es" style="color:rgb(17,85,204)" target="_blank">luismiguel.sanchez@uc3m.es</a><br><br></div><div>Phone: (+34) 91 624 5951<br><div> <br>Linked-In: <a href="http://es.linkedin.com/in/lmsan" style="color:rgb(17,85,204)" target="_blank">http://es.linkedin.com/in/lmsan</a><br>Twitter: <a href="http://twitter.com/lmsanchezgarcia" style="color:rgb(17,85,204)" target="_blank">http://twitter.com/lmsanchezgarcia</a><br>--------------------------------------------------</div></div></div></div></div></div>
</div></div></div></div>