Bond
 
Loading...
Searching...
No Matches
scalar_interface.h
1// Copyright (c) Microsoft. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4#pragma once
5
6#include <bond/core/config.h>
7
8namespace bond
9{
10
11
12// Trait defining what built-it type is aliased by T
13template <typename T> struct
14aliased_type
15{
16 typedef void type;
17};
18
19#if 0
20
21// Overloaded function to set variable to an aliased value
22template <typename T>
23void set_aliased_value(T& var, typename aliased_type<T>::type value);
24
25
26// Overloaded function to get an aliased value
27template <typename T>
28typename aliased_type<T>::type get_aliased_value(const T& value);
29
30#endif
31
32}
namespace bond
Definition: apply.h:17