The function returns a value by'count' reference. An example in which a delegate returns a value.
Пример, в котором делегат возвращает значение.If the method returns a value, then the last method in the list(chain) of methods will be called.
Если метод возвращает значение, тогда будет вызван последний метод в списке( цепочке) методов.Ds\ Map::remove- Removes and returns a value by key.
Ds\ Map:: remove- Удаляет и возвращает значение по ключу.The'islower' function returns a value of type'int' and can be used as an argument to itself.
Функция' islower' возвращает значение типа int и может быть использовано в качестве аргумента к самой себе.Ds\ Deque::remove- Removes and returns a value by index.
Ds\ Deque:: remove- Удаляет и возвращает значение по индексу.If the delegate returns a value, the last method(handler) from the generated list of methods is called.
Если делегат возвращает значение, то вызывается последний метод( обработчик) из сформированного списка методов.How does the group addressing work if the delegate returns a value?
Как работает групповая адресация, если делегат возвращает значение?Whether a user-defined function returns a value or not depends on its algorithm; you decide while writing the program code of the function.
Будет пользовательская функция возвращать значение или нет- зависит от заложенного в нее алгоритма.An example of how to use the operator'return' that returns a value.
Пример использования оператора return, возвращающего значение.It's called smoothstep and like step it returns a value from 0 to 1 but it takes both an lower and upper bound and lerps between 0 and 1 between those bounds.
Как и step, она возвращает значение от до 1, но принимает как нижнюю, так и верхнюю границу, и плавно переходит между этими значениями..Let me remind you that the memcmp()function returns a value of the'int' type.
Давайте вспомним, чтофункция memcmp() возвращает значение типа' int.A call to a function that returns a value can be composed as a separate operator or it can be used in the program code at places where a value of a certain type is implied.
Вызов функции, возвращающей значение, может быть оформлен в виде отдельного оператора, а также использоваться в коде программы- в том месте, где по смыслу предполагается значение известного типа.If a single match exists,the targeting item returns a value of true.
Если есть совпадение,элемент определения возвращает значение« Истина».The map containers allow the user to specify a key and a value,where lookup is done by key and returns a value.
Контейнеры map позволяют пользователю указать ключ изначение, при этом поиск производится по ключу и возвращает значение.The'std:: wstring::length()' function always returns a value above or equal to 0.
Функция' std:: wstring:: length()' всегда возвращает значение большее или равное.First, the type of the delegate is declared,which receives one parameter of type float and returns a value of type float.
Сначала объявляется тип делегата,который получает один параметр типа float и возвращает значение типа float.An LDAP Query targeting item allows a preference item to be applied to computers orusers only if the LDAP query returns a value for the attribute specified in the targeting item.
Если выбрано не совпадает, то применить элемент настройки можнотолько в том случае, если запрос LDAP не возвращает значение для атрибута, указанного в элементе целевой настройки.It was noted above that not all functions must return a value.
Выше было указано, что не все функции обязательно должны возвращать значение являющееся результатом исполнения функции.The C++ standard says that any non-void method must return a value.
Стандарт C говорит, что любой non- void метод должен возвращать значение.It must return a value of type'IO a' for some type'a'. For example: main:: IO() main= putStrLn$"Hello, sky!
Эта функция должна вернуть значение типа' IO()'-- Например main:: IO() main= putStrLn$" Hello, sky!The program can therefore rely on the method returning a value of type int.
Таким образом, программа может полагаться на метод, возвращающий значение типа int.It is useful to,for example, return a value from a function in which an error can occur.
Его удобно использовать,чтобы, например, возвращать значение из функции, в которой может произойти какая-то ошибка.More formally, methods should return a value only if they are referentially transparent and hence possess no side effects.
Более формально, возвращать значение можно только чистым, не имеющим побочных эффектов методам.In the C Standard Library,the character reading functions such as getchar return a value equal to the symbolic value(macro) EOF to indicate that an end-of-file condition has occurred.
В стандартной библиотеке Си функции ввода- вывода,в частности доступа к файлам, могут возвращать значение, равное символьной константе( точнее макроопределению) EOF для индикации, что достигнут конец файла.In order to be able to process(launch) the list of event handlers,the delegate should not return a value.
Для того, чтобы можно было обрабатывать( запускать) списки обработчиков события,делегат не должен возвращать значение.If you want to organize a list of methods that are called when an event is called, then the delegate type andmethod must return a value of void type do not return anything.
Если нужно организовать список методов, которые вызовутся при вызове события,тогда тип делегата и метод должны возвращать значение void ничего не возвращать..A delegate of this type will receive three parameters of type float and return a value of type float.
Делегат этого типа будет получать три параметра типа float и возвращать значение типа float.If there is a list of methods that return a value, then the last method is called when the event is started from this list.
Если есть список методов, возвращающих значение, то при запуске события из этого списка вызывается последний метод.If the methods return a value, then the last method from the list will be executed when the event is called.
Если методы возвращают значение, то при вызове события будет выполняться последний метод из списка.
Результатов: 30,
Время: 0.0334