Skip to content

Commit 80e73ee

Browse files
committed
interop with boost::intrusive_ptr
1 parent 68d55b8 commit 80e73ee

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

include/boost/openmethod/core.hpp

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2844,15 +2844,17 @@ struct VirtualTraits {
28442844

28452845
/**
28462846
Casts a virtual argument.
2847-
`cast` is responsible for passing virtual arguments from method to
2847+
2848+
`cast` is responsible for passing virtual arguments from method to
28482849
overrider. In general, this requires some form of adjustment, because a
28492850
virtual parameter in the overrider may have a different type than the
28502851
corresponding parameter in the method. Typically, the adjustment
28512852
consists in a cast, performed via `static_cast`, `dynamic_cast`, or
28522853
other means, depending on the type of the argument and the rtti policy
28532854
of the method. `cast` may return the adjusted argument by reference or
28542855
as a temporary value.
2855-
<table>
2856+
2857+
<table>
28562858
<tr>
28572859
<th>Method Parameter Type</th>
28582860
<th>Overrider Parameter Type</th>
@@ -2864,11 +2866,6 @@ struct VirtualTraits {
28642866
<td>U&</td>
28652867
</tr>
28662868
</table>
2867-
2868-
@tparam T The type of the virtual parameter in the method.
2869-
@tparam U The type of the virtual parameter in the overrider.
2870-
@param arg The argument passed to the method call.
2871-
@return A value that can be passed as a U.
28722869
*/
28732870
template<typename U>
28742871
static auto cast(T arg) -> detail::unspecified;

0 commit comments

Comments
 (0)