[FIX] fixed stream test in VS
[FIX] added missing rvalue assignment operator
[FIX] fixed if-else warnings
Merge pull request #661 from weese/feature/stream-fixes

[FIX] more VS fixes