A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../identifier_with_special_meaning/module.html below:

C++ identifier with special meaning: module (since C++20)

[edit] Usage [edit] Notes [edit] Example
module;            // starts a global module fragment
 
#include <string>
 
export module foo; // ends a global module fragment
                   // declares the primary module interface unit for named module 'foo'
                   // starts a module unit purview
 
export std::string f();
 
module : private;  // ends the portion of the module interface unit that
                   // can affect the behavior of other translation units
                   // starts a private module fragment
 
std::string f()
{
    return "foo";
}
[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4