Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Functions
DUMMY_DEFAULT_ARG.cpp File Reference

Go to the source code of this file.

Data Structures

struct  X< T >
 
struct  A< T, U >
 
struct  B< T, U >
 

Functions

template<class T >
T foo (const T *=0)
 
template<>
int foo< int > (const int *)
 
template<>
long foo< long > (const long *)
 
template<class T >
T bar (const X &, const T *=0)
 
template<>
A< int > bar< A< int > > (const X &, const A< int > *)
 
template<>
B< long > bar< B< long > > (const X &, const B< long > *)
 
int main ()
 

Function Documentation

◆ bar()

template<class T >
T bar ( const X &  ,
const T *  = 0 
)

Definition at line 53 of file DUMMY_DEFAULT_ARG.cpp.

◆ bar< A< int > >()

template<>
A< int > bar< A< int > > ( const X &  ,
const A< int > *   
)

Definition at line 53 of file DUMMY_DEFAULT_ARG.cpp.

◆ bar< B< long > >()

template<>
B< long > bar< B< long > > ( const X &  ,
const B< long > *   
)

Definition at line 53 of file DUMMY_DEFAULT_ARG.cpp.

◆ foo()

template<class T >
T foo ( const T *  = 0)

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 1999-2007 Rogue Wave Software, Inc.

Definition at line 26 of file DUMMY_DEFAULT_ARG.cpp.

◆ foo< int >()

template<>
int foo< int > ( const int *  )

Definition at line 29 of file DUMMY_DEFAULT_ARG.cpp.

◆ foo< long >()

template<>
long foo< long > ( const long *  )

Definition at line 32 of file DUMMY_DEFAULT_ARG.cpp.

◆ main()

int main ( void  )

Definition at line 62 of file DUMMY_DEFAULT_ARG.cpp.