Commit 4059f50a authored by Roland Levillain's avatar Roland Levillain
Browse files

Disable check_delegatee_inherited.

	* stc/scoop.hxx (helper_check): Disable
	`check_delegatee_inherited<curr>' since it triggers errors in
	valid cases.


git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1047 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 404fc075
2007-08-08 Roland Levillain <roland@lrde.epita.fr>
Disable check_delegatee_inherited.
* stc/scoop.hxx (helper_check): Disable
`check_delegatee_inherited<curr>' since it triggers errors in
valid cases.
2007-07-23 Roland Levillain <roland@lrde.epita.fr>
Adjust samples to the new interface of Static.
......
......@@ -370,6 +370,8 @@ namespace internal
* check_delegatee_inherited
*/
// FIXME: Improve location in error message (as in other check_*
// routines).
template <typename curr>
struct check_delegatee_inherited
: mlc::assert_< stc::is_found< typename first_stm<curr,
......@@ -502,7 +504,12 @@ namespace internal
: check_no_final_inherited< mlc::pair_<curr, stc::not_delegated>,
stc_super(curr),
target >
// FIXME: Disabled. Seems to break the lookup, even in valid cases
// (use the examples image.cc and morpher.cc in the repository of the
// LCSD '07 draft to observe this behavior).
#if 0
, check_delegatee_inherited< curr >
#endif
{
typedef typename check<stc_super(curr), target>::ret ret;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment