alpaqa
develop
Nonconvex constrained optimization
Loading...
Searching...
No Matches
src
alpaqa
include
alpaqa
export.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <alpaqa/export.h>
4
5
#ifndef DOXYGEN
6
7
#ifdef _WIN32
8
#define ALPAQA_EXPORT_EXTERN_TEMPLATE(strcls, name, ...) \
9
extern template strcls name<__VA_ARGS__>
10
#define ALPAQA_EXPORT_TEMPLATE(strcls, name, ...) \
11
template strcls ALPAQA_EXPORT name<__VA_ARGS__>
12
#else
13
#define ALPAQA_EXPORT_EXTERN_TEMPLATE(strcls, name, ...) \
14
extern template strcls ALPAQA_EXPORT name<__VA_ARGS__>
15
#define ALPAQA_EXPORT_TEMPLATE(strcls, name, ...) \
16
template strcls name<__VA_ARGS__>
17
#endif
18
19
#else
// DOXYGEN
20
21
#define ALPAQA_EXPORT_EXTERN_TEMPLATE(...)
22
#define ALPAQA_EXPORT_TEMPLATE(...)
23
24
#endif
// DOXYGEN
Generated on Mon May 6 2024 for alpaqa by
1.9.8