Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Dec 16, 2024

Problem:

  • GTest.h uses constructs from std:: without including them; in later versions of GoogleTest they are not necessarily transitively included.

Solution:

  • Add includes for:
    • iomanip (std::left, std::setw)
    • iostream (std::cout, std::endl)
    • tuple (std::tie)
    • type_traits (various e.g. std::is_same)

Problem:
- GTest.h uses constructs from `std::` without including them; in later versions
  of GoogleTest they are not necessarily transitively included.

Solution:
- Add includes for:
  - `iomanip` (`std::left`, `std::setw`)
  - `iostream` (`std::cout`, `std::endl`)
  - `tuple` (`std::tie`)
  - `type_traits` (various e.g. `std::is_same`)
@kris-jusiak kris-jusiak merged commit 467b07d into cpp-testing:master Dec 16, 2024
3 checks passed
@kris-jusiak
Copy link
Contributor

Thanks @elbeno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants