implicit

Implicit Declaration of Function in C UNIX

In the following code, I get a warning that there is an implicit declaration of function getpgid. I know its only a warning, but its for a class and the professor wants us to treat warnings as errors. So, help please. I have included the appropriate header file as well so I have no idea whats wrong: #include <unistd.h> pid_t pid, pgi...

C# Implicit casting to List<T> returns runtime error

I have a class similar to the following that uses an internal List: public class MyList<T> : IEnumerable<T> { private List<T> _lstInternal; public MyList() { _lstInternal = new List<T>(); } public static implicit operator List<T>(MyList<T> toCast) { return toCast._l...