implements operator& and <<, >> overloads for boost compat
see #8
testing boost ops