mcpp index

huxerui.interaction

import

Interactive primitives, controllers, feedback modifiers, and visual motion effects for HuxerUI

import huxerui.interaction;

模組名讀自上游 modules/interaction.cppm 裡的 `export module` 宣告。

mcpp add huxerui.interaction@0.2.0

用法

來自本倉庫自己的測試專案 —— CI 真的編譯並執行過,不是為了網站寫的。

// Headless C++23 module consumer test for huxerui.interaction.
// Verifies package resolution, transitive huxerui.huxerui linking, pipe/mask
// operators exported via huxerui.interaction.operators, and out-of-line
// std::invalid_argument validation across the module boundary.
import std;
import huxerui.interaction;

using namespace huxerui;
using namespace huxerui::interaction;

namespace {

template <class Fn>
bool ThrowsInvalidArgument(Fn&& fn) {
  try {
    fn();
  } catch (const std::invalid_argument&) {
    return true;
  }
  return false;
}

// …

tests/examples/huxerui-interaction/tests/runtime.cpp · 專案 tests/examples/huxerui-interaction

建置 · 上游資訊清單

modules
huxerui.interaction
targets
huxerui_interaction (lib), interaction (lib)
language
c++23
manifest version
0.2.0
dependencies
huxerui
來源
https://raw.githubusercontent.com/HuxerUI/Lib-Interaction/v0.2.0/mcpp.toml

版本

版本平台 鏡像sha256
0.2.0 最新 LinuxWindowsmacOS 來源 9ffff3fa6e8b…