type traits extension: progress status

I have been able to make the binary operator traits work with pointers. It has been a hard job but I think it is now working well (thank you Jeffrey for pointing to that particular issue). I still have to do the same for unary operators but this should be much easier. The current list of supported operators (35) is now: * 28 binary operators: . ==, !=, <, <=, >, >=, . +, -, *, /, %, +=, -=, *=, /=, %=, . &, |, ^, &=, |=, ^=, . <<, >>, <<=, >>=, . &&, ||, * 5 prefix unary operators: . ! . -, + . --, ++ * 2 postfix unary operators: . --, ++ Here are the links to the updated code and documentation: * http://www.boostpro.com/vault/index.php?action=downloadfile&filename=type_traits.tar.bz2&directory=Extension& * http://svn.boost.org/svn/boost/sandbox/type_traits/ Frédéric

2011/1/30 Frédéric Bron <frederic.bron@m4x.org>:
I have been able to make the binary operator traits work with pointers. It has been a hard job but I think it is now working well (thank you Jeffrey for pointing to that particular issue). I still have to do the same for unary operators but this should be much easier.
Coolness -- so does this mean we're close to being able to do at least operator-based "almost-concept-like" SFINAE for functions? :D Thanks for the update! :) -- Dean Michael Berris about.me/deanberris

On 1/29/2011 2:58 PM, Frédéric Bron wrote:
I have been able to make the binary operator traits work with pointers. It has been a hard job but I think it is now working well (thank you Jeffrey for pointing to that particular issue). I still have to do the same for unary operators but this should be much easier.
The current list of supported operators (35) is now: * 28 binary operators: . ==, !=,<,<=,>,>=, . +, -, *, /, %, +=, -=, *=, /=, %=, .&, |, ^,&=, |=, ^=, .<<,>>,<<=,>>=, .&&, ||, * 5 prefix unary operators: . ! . -, + . --, ++ * 2 postfix unary operators: . --, ++
Here are the links to the updated code and documentation: * http://www.boostpro.com/vault/index.php?action=downloadfile&filename=type_traits.tar.bz2&directory=Extension& * http://svn.boost.org/svn/boost/sandbox/type_traits/
Bravo, bravo, archez bravo.

I have been able to make the binary operator traits work with pointers. I still have to do the same for unary operators but this should be much easier.
It is now also done for prefix and postfix operators. * http://www.boostpro.com/vault/index.php?action=downloadfile&filename=type_traits.tar.bz2&directory=Extension& * http://svn.boost.org/svn/boost/sandbox/type_traits/ Remaining task: - prepare documentation for review (documentation for users is ready). Frédéric

I have just added one missing unary operator: complement (~) so that the current list of supported operators (36) is now: * 28 binary operators: . ==, !=, <, <=, >, >=, . +, -, *, /, %, +=, -=, *=, /=, %=, . &, |, ^, &=, |=, ^=, . <<, >>, <<=, >>=, . &&, ||, * 6 prefix unary operators: . ! . ~ . -, + . --, ++ * 2 postfix unary operators: . --, ++ Here are the links to the updated code and documentation: * http://www.boostpro.com/vault/index.php?action=downloadfile&filename=type_traits.tar.bz2&directory=Extension& * http://svn.boost.org/svn/boost/sandbox/type_traits/ Frédéric
participants (3)
-
Dean Michael Berris
-
Edward Diener
-
Frédéric Bron