Skip to content

Commit

Permalink
remove unnecessary include in samples
Browse files Browse the repository at this point in the history
  • Loading branch information
suomesta committed Sep 11, 2023
1 parent a980ba7 commit 87ffbf8
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion reference/iterator/move_iterator/iter_swap.md
Expand Up @@ -48,7 +48,6 @@ return move_iterator<Iterator>(std::move(i));
```cpp example
#include <iterator>
#include <vector>
#include <list>
#include <iostream>

int main() {
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/recursive_timed_mutex/try_lock_for.md
Expand Up @@ -43,7 +43,6 @@ bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
#include <thread>
#include <mutex>
#include <chrono>
#include <vector>
#include <system_error>
class X {
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/recursive_timed_mutex/try_lock_until.md
Expand Up @@ -48,7 +48,6 @@ bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
#include <thread>
#include <mutex>
#include <chrono>
#include <vector>
#include <system_error>
class X {
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/timed_mutex/lock.md
Expand Up @@ -39,7 +39,6 @@ void lock();
#include <iostream>
#include <thread>
#include <mutex>
#include <vector>

class X {
std::timed_mutex mtx_;
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/timed_mutex/try_lock.md
Expand Up @@ -39,7 +39,6 @@ bool try_lock();
#include <iostream>
#include <thread>
#include <mutex>
#include <vector>
#include <system_error>

class X {
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/timed_mutex/try_lock_for.md
Expand Up @@ -47,7 +47,6 @@ bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
#include <thread>
#include <mutex>
#include <chrono>
#include <vector>
#include <system_error>
class X {
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/timed_mutex/try_lock_until.md
Expand Up @@ -52,7 +52,6 @@ bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
#include <thread>
#include <mutex>
#include <chrono>
#include <vector>
#include <system_error>
class X {
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/timed_mutex/unlock.md
Expand Up @@ -34,7 +34,6 @@ void unlock();
#include <iostream>
#include <thread>
#include <mutex>
#include <vector>

class X {
std::timed_mutex mtx_;
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/unique_lock/lock.md
Expand Up @@ -43,7 +43,6 @@ pm->lock();
#include <iostream>
#include <thread>
#include <mutex>
#include <vector>

class X {
std::mutex mtx_;
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/unique_lock/try_lock.md
Expand Up @@ -47,7 +47,6 @@ pm->try_lock();
#include <iostream>
#include <thread>
#include <mutex>
#include <vector>
#include <system_error>

class X {
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/unique_lock/try_lock_for.md
Expand Up @@ -49,7 +49,6 @@ pm->try_lock_for(rel_time);
#include <thread>
#include <mutex>
#include <chrono>
#include <vector>
#include <system_error>

class X {
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/unique_lock/try_lock_until.md
Expand Up @@ -51,7 +51,6 @@ pm->try_lock_until(abs_time);
#include <thread>
#include <mutex>
#include <chrono>
#include <vector>
#include <system_error>

class X {
Expand Down
1 change: 0 additions & 1 deletion reference/mutex/unique_lock/unlock.md
Expand Up @@ -40,7 +40,6 @@ pm->unlock();
#include <iostream>
#include <thread>
#include <mutex>
#include <vector>

class X {
std::mutex mtx_;
Expand Down
1 change: 0 additions & 1 deletion reference/unordered_set/unordered_multiset/erase.md
Expand Up @@ -63,7 +63,6 @@ iterator erase(const_iterator first, const_iterator last); // (4) C++11
#include <unordered_set>
#include <iterator>
#include <algorithm>
#include <string>
template <class C>
void print(const char* label, const C& c, std::ostream& os = std::cout)
Expand Down
1 change: 0 additions & 1 deletion reference/unordered_set/unordered_multiset/extract.md
Expand Up @@ -29,7 +29,6 @@ node_type extract(const key_type& x); (2)
```cpp example
#include <iostream>
#include <string>
#include <unordered_set>
class noncopyable {
Expand Down
1 change: 0 additions & 1 deletion reference/unordered_set/unordered_set/erase.md
Expand Up @@ -63,7 +63,6 @@ iterator erase(const_iterator first, const_iterator last); // (4) C++11
#include <unordered_set>
#include <iterator>
#include <algorithm>
#include <string>
template <class C>
void print(const char* label, const C& c, std::ostream& os = std::cout)
Expand Down
1 change: 0 additions & 1 deletion reference/unordered_set/unordered_set/extract.md
Expand Up @@ -29,7 +29,6 @@ node_type extract(const key_type& x); (2)
```cpp example
#include <iostream>
#include <string>
#include <unordered_set>
class noncopyable {
Expand Down

0 comments on commit 87ffbf8

Please sign in to comment.