Add deterministic C++ reference adapter
This commit is contained in:
parent
f00aa65a73
commit
7bee0220c2
7 changed files with 1915 additions and 0 deletions
15
tests/fixtures/reference-cpp/include/config.hpp
vendored
Normal file
15
tests/fixtures/reference-cpp/include/config.hpp
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include "detail.hpp"
|
||||
|
||||
namespace demo {
|
||||
|
||||
struct Config {
|
||||
int limit;
|
||||
};
|
||||
|
||||
inline int effective_limit(const Config& config) {
|
||||
return normalize(config.limit);
|
||||
}
|
||||
|
||||
} // namespace demo
|
||||
Loading…
Add table
Add a link
Reference in a new issue