diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-09-14 15:15:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 15:15:41 (GMT) |
commit | f46c174d1c885283543afa550b3690abe1825aa0 (patch) | |
tree | 3200ee3af2d53690cd78b036d1ae9f02c84ef365 | |
parent | cfe0ae867857dad6d14ff72a2f02808086021f35 (diff) | |
parent | abc803e28826b8d2c4817f2c44103e1c1d57a8c2 (diff) | |
download | googletest-f46c174d1c885283543afa550b3690abe1825aa0.zip googletest-f46c174d1c885283543afa550b3690abe1825aa0.tar.gz googletest-f46c174d1c885283543afa550b3690abe1825aa0.tar.bz2 |
Merge pull request #1835 from google/gennadiycivil-TR1-docs-cleanup
Remove TR1 mentions
-rw-r--r-- | googlemock/README.md | 29 | ||||
-rw-r--r-- | googletest/README.md | 27 |
2 files changed, 0 insertions, 56 deletions
diff --git a/googlemock/README.md b/googlemock/README.md index e5bb211..fced671 100644 --- a/googlemock/README.md +++ b/googlemock/README.md @@ -246,35 +246,6 @@ We list the most frequently used macros below. For a complete list, see file [${GTEST\_DIR}/include/gtest/internal/gtest-port.h]( ../googletest/include/gtest/internal/gtest-port.h). -### Choosing a TR1 Tuple Library ### - -Google Mock uses the C++ Technical Report 1 (TR1) tuple library -heavily. Unfortunately TR1 tuple is not yet widely available with all -compilers. The good news is that Google Test 1.4.0+ implements a -subset of TR1 tuple that's enough for Google Mock's need. Google Mock -will automatically use that implementation when the compiler doesn't -provide TR1 tuple. - -Usually you don't need to care about which tuple library Google Test -and Google Mock use. However, if your project already uses TR1 tuple, -you need to tell Google Test and Google Mock to use the same TR1 tuple -library the rest of your project uses, or the two tuple -implementations will clash. To do that, add - - -DGTEST_USE_OWN_TR1_TUPLE=0 - -to the compiler flags while compiling Google Test, Google Mock, and -your tests. If you want to force Google Test and Google Mock to use -their own tuple library, just add - - -DGTEST_USE_OWN_TR1_TUPLE=1 - -to the compiler flags instead. - -If you want to use Boost's TR1 tuple library with Google Mock, please -refer to the Boost website (http://www.boost.org/) for how to obtain -it and set it up. - ### As a Shared Library (DLL) ### Google Mock is compact, so most users can build and link it as a static diff --git a/googletest/README.md b/googletest/README.md index 46de3dd..713cb67 100644 --- a/googletest/README.md +++ b/googletest/README.md @@ -245,33 +245,6 @@ them to either 1 or 0 to enable or disable a certain feature. We list the most frequently used macros below. For a complete list, see file [include/gtest/internal/gtest-port.h](https://github.com/google/googletest/blob/master/include/gtest/internal/gtest-port.h). -### Choosing a TR1 Tuple Library - -Some Google Test features require the C++ Technical Report 1 (TR1) tuple -library, which is not yet available with all compilers. The good news is that -Google Test implements a subset of TR1 tuple that's enough for its own need, and -will automatically use this when the compiler doesn't provide TR1 tuple. - -Usually you don't need to care about which tuple library Google Test uses. -However, if your project already uses TR1 tuple, you need to tell Google Test to -use the same TR1 tuple library the rest of your project uses, or the two tuple -implementations will clash. To do that, add - - -DGTEST_USE_OWN_TR1_TUPLE=0 - -to the compiler flags while compiling Google Test and your tests. If you want to -force Google Test to use its own tuple library, just add - - -DGTEST_USE_OWN_TR1_TUPLE=1 - -to the compiler flags instead. - -If you don't want Google Test to use tuple at all, add - - -DGTEST_HAS_TR1_TUPLE=0 - -and all features using tuple will be disabled. - ### Multi-threaded Tests Google Test is thread-safe where the pthread library is available. After |