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
8
namespace
bond
9
{
10
11
12
// Trait defining what built-it type is aliased by T
13
template
<
typename
T>
struct
14
aliased_type
15
{
16
typedef
void
type;
17
};
18
19
#if 0
20
21
// Overloaded function to set variable to an aliased value
22
template
<
typename
T>
23
void
set_aliased_value(T& var,
typename
aliased_type<T>::type value);
24
25
26
// Overloaded function to get an aliased value
27
template
<
typename
T>
28
typename
aliased_type<T>::type get_aliased_value(
const
T& value);
29
30
#endif
31
32
}
bond
namespace bond
Definition:
apply.h:17
cpp
inc
bond
core
scalar_interface.h
Generated by
1.9.5