bloomberg/bsl — pull request #93 by gstrauss (2013-11-10 06:30:16+00:00)
Title: more consistent use of BSLS_UTIL_ADDRESSOF() macro

replace calls to bsls::Util::addressOf() with BSLS_UTIL_ADDRESSOF()
where trivial to do so. bsls::Util::addressOf() performs casting,
causing pointer aliasing, which can be a problem with optimization
if the result is dereferenced as a different type (instead of being
dereferenced after being cast back to the original type).
BSLS_UTIL_ADDRESSOF() wraps the call and uses '&' on platforms other
than Windows (due to MSFC needs). See bsls_util.h for more details.

The following files continue to use bsls::Util::addressOf() and should be reviewed
bsl/bsltf/bsltf_degeneratefunctor.h
bsl/bslstl/bslstl_allocatortraits.t.cpp
bsl/bslstl/bslstl_hashtable.t.cpp
bsl/bslstl/bslstl_hashtable.h