Created
April 18, 2019 02:20
-
-
Save jaredwy/c859222b2f52f2c8c99b099b0a5b30b5 to your computer and use it in GitHub Desktop.
ah.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace detail { | |
// Preconditions: T models ChannelConcept | |
template <typename T> | |
struct ChannelIsMutableConcept { | |
void constraints() { | |
c=c; | |
using std::swap; | |
swap(c,c); | |
} | |
T c; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment