Gobelijn API documentation
- generated for commit a0cbea7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
inline-functions.cpp
Go to the documentation of this file.
1
#include <iostream>
2
3
class
MulAddHelpers
4
{
5
public
:
6
static
int
muladd
(
int
a,
int
b,
int
c) {
return
a * b + c; }
7
};
8
9
inline
int
muladd
(
int
a,
int
b,
int
c) {
return
a * b + c; }
10
11
int
main
()
12
{
13
std::cout <<
MulAddHelpers::muladd
(1, 2, 3) << std::endl;
14
std::cout <<
muladd
(1, 2, 3) << std::endl;
15
}
main
int main()
Definition:
inline-functions.cpp:11
muladd
int muladd(int a, int b, int c)
Definition:
inline-functions.cpp:9
main
cpp
linking
inline-functions.cpp
Generated on Fri Feb 1 2019 09:33:32 for Gobelijn API documentation by
1.8.6