googletest/mod_README.md

529 B
Raw Blame History

Problem: Gtest currently interferes w/ std::complex as complex.h uses a define for I already.

Modifcation: all I template names renamed to __I (can use whatever you want, just put a placeholder I figured wouldnt cause interference) at following locations:

include/internal/gtest-internal.h:

  • lines 1147-1204

include/gtest-printers.h:

  • PrintTupleTo (l.791-802)
  • TersePrintPrefixToStrings (l.1159-1167)

include/internal/gtest-param-util.h:

  • MakeVector (l.814-817)
  • IteratorImpl (l.841-936)