Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/clcPublic

License

NotificationsYou must be signed in to change notification settings

oficsu/clc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This library exploits C++ loophole to allow different template instantiation each time in C++11

Dependencies

There are no dependencies from now

Example

What does this library allow?

assert(clc::counter() != clc::counter());

Nothing special, right? But... How about the next one?

static_assert(clc::counter() != clc::counter(), "The results are different");static_assert(clc::counter() == 2, "The result is now 2, and then...");static_assert(clc::counter() == 3, "3! It's magic");

Supported Compilers

The code is known to work on the following compilers:

  • Clang 3.4.1 (or later)
  • GCC 4.7.1 (or later)
  • MSVC v19.14 (or later, or maybe earlier)
  • ICC 18.0 (or later)

Development Status: This code is not stable or well-tested. No promise is made about support or long-term stability. This codewill evolve without regard to backwards compatibility.

Building

git clone https://github.com/oficsu/clccd clcmkdir build&&cd buildcmake -D CMAKE_INSTALL_PREFIX=/opt/clc ..cmake --build. --target install

Licensed under theBoost Software License


[8]ページ先頭

©2009-2025 Movatter.jp