Код: Выделить всё
// def.ixx
export module def;
#include
import std;
export using dictionary = std::unordered_map;
export using results = std::unordered_map;
export using pool_results = std::unordered_map;
export using cache = concurrency::concurrent_unordered_map;
export using pool_cache = std::unordered_map;
Код: Выделить всё
def.ixx
def.ixx(5): warning C5244: '#include ' in the purview of module 'def' appears erroneous. Consider moving that directive before the module declaration, or replace the textual inclusion with 'import ;'.
def.ixx(3): note: see module 'def' declaration
LINK : fatal error LNK1561: entry point must be defined
< /code>
Я пытался, как это предполагает, однако ошибка сохраняется. Возможно ли использовать std Код: Выделить всё
concurrent_unordered_mapПодробнее здесь: https://stackoverflow.com/questions/797 ... urrent-ppl
Мобильная версия