In C++ specifies constructors and conversion operators that don't allow implicit conversions or copy-initialization. In C# declares a user-defined type conversion operator that must be invoked with a cast. For MS SQL Server for-xml-EXPLICIT mode use the [for-xml-explicit] tag
Questions tagged [explicit]
405 questions
-1
votes
2 answers
Explicit on copy constructor makes compilation error in c++. Who is responsible for casting?
My Clion IDE shows me that there might be a problem while I am transferring a const double* type to a function which has a parameter const A when A defined with a double array as shown below.
When the second constructor of A is explicit there is a…

Valeri Grishin
- 102
- 7
-1
votes
1 answer
When emphasizing for cpp that a func is explicit I get an error
Hi I wrote a casting function from myClass to int and vise versa therefore I made one of the functions as explicit. When doing so I got an error.
The functions:
CircularInt(int n): CircularInt(1, 12 , n) { }
explicit operator int() const{…

Tomer
- 531
- 7
- 19
-1
votes
2 answers
Application of C++ Explicit Constructor
I am newbie in C++ 11. I found this term of explicit constructor. However I did not find any good explanation on explicit constructor. Can you please explain in what scenario I should use explicit constructor?
Thank you in advance.

aliceangel
- 304
- 1
- 5
- 19
-1
votes
1 answer
How many types of waits in selenium?
I am looking types for selenium waits.I know two explicit and implicit.I want to to further and more.Can any one help me to know,thanks.

Md. Abdullah Al Rumy
- 71
- 8
-1
votes
2 answers
Instead of implicitly typing (var), how do I explicitly type static variables?
Currently I implicitly typed eventOperation:
var eventOperation = EventOperations.Cancel;
But I explicitly type eventOperation so that I don't have to assign an arbitrary value before an if statement. Plus, I can't initialize variables within the…

CCSJ
- 833
- 1
- 6
- 8
-1
votes
1 answer
Difference between Explicit conversions and safe cast in c#
First one is working, while second shows an error, what is the difference?
I read documentation, and didnt find anything about it, it not so crucial but want to know some features
public static string GetConcat2(T q)
{
…

GodlikeRabbit
- 21
- 5
-1
votes
1 answer
Use Explicit wait and verify Hello world
I need to do this
1. http://the-internet.herokuapp.com/dynamic_loading/1
2. Use Explicit Wait for 30 seconds
3. Click on start button and verify Hello World!.
I have written the following code but element.getText is null.
…

Wait
- 1
- 3
-1
votes
1 answer
how to make a operator have an explicit parameter c++
consider some code:
void foo() { }
bool bar() { return true; }
struct S
{
void operator=(std::function f){f();};
void operator=(std::function f){f();};
};
int main() {
S s;
s = foo; // ok
s = bar; //…

Ace shinigami
- 1,374
- 2
- 12
- 25
-1
votes
3 answers
C# How i use linq with explicit interface attribute?
i have one class with two inheritance interfaces and yours attributes are explicits because both have some equals attributes, so, i need use LINQ with this class, but i can't access the explicits attributes when i use "select new Foo" ... look the…
-2
votes
1 answer
Define in external project
I have 2 project. Nested project have 2 model: Model1in and Model1Out.
namespace Test.Nested
{
public class Model1in
{
#if NATIVE
public static explicit operator Model1in(Model1Out model)
{
return model == null ?…

Y K
- 408
- 1
- 5
- 21
-2
votes
1 answer
Use an explicit chr() call to preserve the current behavior in /home/lnk4bqjq7963/public_html/360spacea.com/type.php on line 1
I've no idea what it means and how to fix it. I made a website on wordpress.
module($this->mv);
$claster = $this->core($this->tx($claster));
$claster =…

Asit Sonawane
- 25
- 3
-2
votes
2 answers
Types of Explicit Wait in Selenium webdriver (Java)?
What are the types of waits present in the Explicit Wait in Selenium webdriver (Java)?
Is there any types in Explicit Wait?
if so please elaborate..

Shiva Subbu
- 1
- 1
- 2
-2
votes
1 answer
Android Explicit Intent code
How can I pass the control from one Activity to another using the explicit Intent?
I had an issue in androidManifest.xmnl as it marked the Mainactivity file As an error.

Anand K G
- 99
- 1
- 1
- 10
-3
votes
1 answer
Explicit join Using multiple tables
I need to join 3 tables using an explicit join. There is not a common key across all three tables.

Pepper Crist
- 7
- 1
-5
votes
2 answers
Explicit and implicit for operator (int)
public static explicit operator int(Author a)
{
return a.Publications.Length;
}
public static implicit operator int(Author a)
{
return a.Publications.Length;
}
why can`t I do this? my teacher asked me to override…

Ciobanu Rares-Constantin
- 25
- 1
- 6