Advertisement
chevengur

СПРИНТ № 2 | Числовые типы | Урок 9: Двойное двоеточие

Oct 11th, 2023 (edited)
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. class SearchServer {
  6. public:
  7.     enum class DocumentStatus {
  8.         ACTUAL,
  9.         IRRELEVANT,
  10.         BANNED,
  11.         REMOVED,
  12.     };
  13. };
  14.  
  15. int main() {
  16.     cout << static_cast<int>(SearchServer::DocumentStatus::BANNED);
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement