namespace
David Bellot via ublas <[email protected]> Fri, 31 May 2019 10:07:17 +1000
| Newsgroups | gmane.comp.lib.boost.ublas |
|---|---|
| Message-ID | <CAOE6ZJGL1J=+0Bytv93j7rgakUvGM==KJnp9TOCuKAMZg0PDkw@mail.gmail.com> |
--===============0320014942663617387== Content-Type: multipart/alternative; boundary="000000000000b10788058a23cde5" --000000000000b10788058a23cde5 Content-Type: text/plain; charset="UTF-8" By the way, can I open a flame war on this list? :-D What's about getting ublas out of the namespace numeric. The sub-namespace numeric has never been used as expected in the early days: - in most of the code I saw so far, people are doing a using namespace boost::numeric. - you can't seriously type boost::numeric::ublas::fct(x,y) like you type std::fct(x,y). I mean, std is 3 characters only. - can we find a way to inject a new boost::ublas into boost::numeric to keep backward compatibility As ublas is going through massive changes and improvements (thanks Cem, Stefan, Paul, Thomas, <put your name here>,...), it's about time to think about these little details too which would give ublas a new face and simplify users' life. Cheers, David --000000000000b10788058a23cde5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he= lvetica,sans-serif;font-size:small">By the way, can I open a flame war on t= his list? :-D</div><div class=3D"gmail_default" style=3D"font-family:arial,= helvetica,sans-serif;font-size:small"><br></div><div class=3D"gmail_default= " style=3D"font-family:arial,helvetica,sans-serif;font-size:small">What'= ;s about getting ublas out of the namespace numeric. The sub-namespace nume= ric has never been used as expected in the early days:</div><div class=3D"g= mail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:sma= ll">- in most of the code I saw so far, people are doing a using namespace = boost::numeric.<br></div><div class=3D"gmail_default" style=3D"font-family:= arial,helvetica,sans-serif;font-size:small">- you can't seriously type = boost::numeric::ublas::fct(x,y) like you type std::fct(x,y). I mean, std is= 3 characters only.<br></div><div class=3D"gmail_default" style=3D"font-fam= ily:arial,helvetica,sans-serif;font-size:small">- can we find a way to inje= ct a new boost::ublas into boost::numeric to keep backward compatibility</d= iv><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-s= erif;font-size:small"><br></div><div class=3D"gmail_default" style=3D"font-= family:arial,helvetica,sans-serif;font-size:small">As ublas is going throug= h massive changes and improvements (thanks Cem, Stefan, Paul, Thomas, <p= ut your name here>,...), it's about time to think about these little= details too which would give ublas a new face and simplify users' life= .</div><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sa= ns-serif;font-size:small"><br></div><div class=3D"gmail_default" style=3D"f= ont-family:arial,helvetica,sans-serif;font-size:small">Cheers,</div><div cl= ass=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-= size:small">David<br></div></div> --000000000000b10788058a23cde5-- --===============0320014942663617387== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline