For example
```
OIIOOutputDriver::~OIIOOutputDriver()
{
}
```
becomes
```
OIIOOutputDriver::~OIIOOutputDriver() {}
```
Saves quite some vertical space, which is especially handy for
constructors.
Pull Request: blender/blender#105594
32 lines
678 B
C++
32 lines
678 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup fn
|
|
*
|
|
* An #Context is passed along with every call to a multi-function. Right now it does nothing,
|
|
* but it can be used for the following purposes:
|
|
* - Pass debug information up and down the function call stack.
|
|
* - Pass reusable memory buffers to sub-functions to increase performance.
|
|
* - Pass cached data to called functions.
|
|
*/
|
|
|
|
#include "BLI_utildefines.h"
|
|
|
|
#include "BLI_map.hh"
|
|
|
|
namespace blender::fn::multi_function {
|
|
|
|
class Context;
|
|
|
|
class ContextBuilder {
|
|
};
|
|
|
|
class Context {
|
|
public:
|
|
Context(ContextBuilder & /*builder*/) {}
|
|
};
|
|
|
|
} // namespace blender::fn::multi_function
|