2022-02-11 13:53:21 +01:00
|
|
|
/* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
* Copyright 2011-2022 Blender Foundation */
|
2011-04-27 11:58:34 +00:00
|
|
|
|
|
|
|
|
#ifndef __UTIL_FUNCTION_H__
|
|
|
|
|
#define __UTIL_FUNCTION_H__
|
|
|
|
|
|
2018-07-25 16:59:46 +02:00
|
|
|
#include <functional>
|
2011-04-27 11:58:34 +00:00
|
|
|
|
|
|
|
|
CCL_NAMESPACE_BEGIN
|
|
|
|
|
|
2018-07-25 16:59:46 +02:00
|
|
|
#define function_bind std::bind
|
|
|
|
|
#define function_null nullptr
|
2015-03-29 22:12:22 +02:00
|
|
|
using std::function;
|
|
|
|
|
using std::placeholders::_1;
|
|
|
|
|
using std::placeholders::_2;
|
|
|
|
|
using std::placeholders::_3;
|
|
|
|
|
using std::placeholders::_4;
|
|
|
|
|
using std::placeholders::_5;
|
|
|
|
|
using std::placeholders::_6;
|
|
|
|
|
using std::placeholders::_7;
|
|
|
|
|
using std::placeholders::_8;
|
|
|
|
|
using std::placeholders::_9;
|
2018-07-25 16:59:46 +02:00
|
|
|
|
2011-04-27 11:58:34 +00:00
|
|
|
CCL_NAMESPACE_END
|
|
|
|
|
|
|
|
|
|
#endif /* __UTIL_FUNCTION_H__ */
|