diff options
author | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-09-04 23:03:20 (GMT) |
---|---|---|
committer | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-09-23 17:31:06 (GMT) |
commit | e0d16aa33662857a5b3f47359f46910d4d18ab5b (patch) | |
tree | 382920415d12d4b9b2fb71778ea1832275570a90 /googlemock/test/gmock-nice-strict_test.cc | |
parent | f2fb48c3b3d79a75a88a99fba6576b25d42ec528 (diff) | |
download | googletest-e0d16aa33662857a5b3f47359f46910d4d18ab5b.zip googletest-e0d16aa33662857a5b3f47359f46910d4d18ab5b.tar.gz googletest-e0d16aa33662857a5b3f47359f46910d4d18ab5b.tar.bz2 |
remove GTEST_ARRAY_SIZE_refs/pull/2444/head
This macro didn't work when an array was passed to a function by pointer,
in which case the information about its size was lost.
Better alternatives are:
* std::extent<T>::value (compile-time)
* std::array<T, N>::size() (compile-time)
* std::distance(std::begin(array), std::end(array)) (run-time)
Diffstat (limited to 'googlemock/test/gmock-nice-strict_test.cc')
0 files changed, 0 insertions, 0 deletions