代码搜索:implicit
找到约 5,250 项符合「implicit」的源代码
代码结果 5,250
www.eeworm.com/read/221464/4832197
cpp implicit_cast.cpp
// Copyright David Abrahams 2003. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
www.eeworm.com/read/183001/5260297
out select_implicit.out
--
-- SELECT_IMPLICIT
-- Test cases for queries with ordering terms missing from the target list.
-- This used to be called "junkfilter.sql".
-- The parser uses the term "resjunk" to handle these case
www.eeworm.com/read/183001/5260381
sql select_implicit.sql
--
-- SELECT_IMPLICIT
-- Test cases for queries with ordering terms missing from the target list.
-- This used to be called "junkfilter.sql".
-- The parser uses the term "resjunk" to handle these case
www.eeworm.com/read/168845/5436180
cpp implicit_cast.cpp
// Copyright David Abrahams 2003.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#inc
www.eeworm.com/read/305277/3778888
scala divergent-implicit.scala
object Test1 {
implicit def cast[A, B](x: A)(implicit c: A => B): B = c(x)
val x1: String = 1
val x2: String = cast[Int, String](1)
}
object Test2 {
class Foo
class Bar
class Baz
implic
www.eeworm.com/read/305277/3779010
check divergent-implicit.check
divergent-implicit.scala:4: error: diverging implicit expansion for type (Int) => B
starting with method cast in object Test1
val x1: String = 1
^
divergent-implicit.scala:5: erro