Changed std::addressof to cast. Fixes compiler error on BB10
Merge pull request #1498 from seanpaultaylor/next

Changed std::addressof to cast. Fixes compiler error on BB10