xtl
« Back to VersTracker
Description:
X template library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ header-only template-metaprogramming library development
Install: brew install xtl
About:
xtl is a header-only C++ library that provides foundational tools for template metaprogramming. It offers extended type traits, compile-time checks, and utilities for handling variant types and expression templates. Its primary value is enabling the development of high-performance, generic libraries by simplifying complex template logic.
Key Features:
  • Header-only library with no external dependencies
  • Extended type traits and compile-time utilities
  • Tools for building expression templates and variant types
  • Lightweight and focused on core functionality
Use Cases:
  • Building generic, high-performance C++ libraries
  • Implementing complex template metaprogramming patterns
  • Creating domain-specific embedded languages (DSLs)
Alternatives:
  • Boost.Hana – Hana is a full metaprogramming library for types and values, while xtl is more focused on foundational utilities for traits and expression templates.
  • Boost.MPL – MPL is an older, C++03-style metaprogramming library, whereas xtl is modern, header-only, and designed for performance.
Version History
Detected Version Rev Change Commit