mcpp index

huxerui.map

import

Cross-platform declarative map view, types, and overlay validation for HuxerUI

import huxerui.map;

Module name read from the upstream `export module` declaration in modules/map.cppm.

mcpp add huxerui.map@0.1.0

Usage

From this repository's own test project — built and run by CI, not written for the website.

import std;
import huxerui;
import huxerui.map;

namespace hm = huxerui::map;

namespace {

int checks = 0;

void Check(bool condition, std::string_view msg = "Map check failed") {
    ++checks;
    if (!condition) {
        throw std::runtime_error(std::string(msg) + " (#" + std::to_string(checks) + ")");
    }
}

void Reject(const std::function<void(hm::MapOptions&)>& change, std::string_view label) {
    hm::MapOptions options;
    change(options);
    bool rejected = false;
    try {
// …

tests/examples/huxerui-map/tests/map.cpp · project tests/examples/huxerui-map

Build · upstream manifest

modules
huxerui.map
targets
map (lib)
language
c++23
manifest version
0.1.0
dependencies
huxerui
source
https://raw.githubusercontent.com/HuxerUI/Lib-Map/v0.1.0/mcpp.toml

Versions

VersionPlatforms Mirrorssha256
0.1.0 latest LinuxWindowsmacOS source 1be555500de4…