mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Fix some doxygen warnings
This commit is contained in:
parent
be4bdb5365
commit
7c6eadd84a
2 changed files with 7 additions and 1 deletions
|
|
@ -62,6 +62,7 @@ private:
|
|||
when returning objects, to avoid an explicit temporary variable, since
|
||||
the destructor executes after the return statement. For example:
|
||||
|
||||
\code
|
||||
template <class U>
|
||||
U cast (lua_State* L)
|
||||
{
|
||||
|
|
@ -69,6 +70,7 @@ private:
|
|||
...
|
||||
return U (); // dtor called after this line
|
||||
}
|
||||
\endcode
|
||||
|
||||
@note The `StackPop` object must always be a named local variable.
|
||||
*/
|
||||
|
|
@ -77,6 +79,7 @@ private:
|
|||
public:
|
||||
/** Create a StackPop object.
|
||||
|
||||
@param L the LuaState to modify
|
||||
@param count The number of stack entries to pop on destruction.
|
||||
*/
|
||||
StackPop (lua_State* L, int count)
|
||||
|
|
@ -277,6 +280,7 @@ private:
|
|||
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/e30b2664-a92d-445c-9db2-e8e0fbde2014
|
||||
https://connect.microsoft.com/VisualStudio/feedback/details/771509/correct-code-doesnt-compile
|
||||
|
||||
\code
|
||||
// This code snippet fails to compile in vs2010,vs2012
|
||||
struct S {
|
||||
template <class T> inline operator T () const { return T (); }
|
||||
|
|
@ -285,6 +289,7 @@ private:
|
|||
S () || false;
|
||||
return 0;
|
||||
}
|
||||
\endcode
|
||||
*/
|
||||
template <class T>
|
||||
inline operator T () const
|
||||
|
|
@ -886,6 +891,7 @@ public:
|
|||
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/e30b2664-a92d-445c-9db2-e8e0fbde2014
|
||||
https://connect.microsoft.com/VisualStudio/feedback/details/771509/correct-code-doesnt-compile
|
||||
|
||||
\code
|
||||
// This code snippet fails to compile in vs2010,vs2012
|
||||
struct S {
|
||||
template <class T> inline operator T () const { return T (); }
|
||||
|
|
@ -894,6 +900,7 @@ public:
|
|||
S () || false;
|
||||
return 0;
|
||||
}
|
||||
\endcode
|
||||
*/
|
||||
template <class T>
|
||||
inline operator T () const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue